Rename network.nix to network-client.nix
It contains setting up NetworkManager which is not needed for servers
This commit is contained in:
parent
989369d488
commit
55d9d233fe
3 changed files with 1 additions and 25 deletions
|
@ -8,10 +8,9 @@
|
|||
imports =
|
||||
[
|
||||
../../modules/nix.nix
|
||||
../../modules/system.nix
|
||||
../../modules/firmware.nix
|
||||
../../modules/laptop.nix
|
||||
../../modules/network.nix
|
||||
../../modules/network-client.nix
|
||||
../../modules/locale.nix
|
||||
../../modules/timezone-imperatively.nix
|
||||
../../modules/boot-login.nix
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
# do garbage collection weekly to keep disk usage low
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
};
|
||||
|
||||
gc = {
|
||||
automatic = lib.mkDefault true;
|
||||
dates = lib.mkDefault "weekly";
|
||||
options = lib.mkDefault "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
}
|
Loading…
Reference in a new issue