apu: add support for nix-command and flakes, enable gc
This commit is contained in:
@@ -116,6 +116,19 @@ in
|
||||
networking.hostName = "apu";
|
||||
networking.useNetworkd = true;
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
config.networkConfig.IPv6Forwarding = true;
|
||||
|
||||
Reference in New Issue
Block a user