diff --git a/modules/system/nix.nix b/modules/system/nix.nix new file mode 100644 index 0000000..d0c6bfa --- /dev/null +++ b/modules/system/nix.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: { + nix = { + settings = { + auto-optimise-store = true; + allowed-users = [ "@wheel" ]; + }; + gc = { + automatic = true; + dates = "daily"; + }; + package = pkgs.nixUnstable; + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; + + nixpkgs.config.allowUnfree = true; +} diff --git a/profiles/minimal.nix b/profiles/minimal.nix index 03fc5e5..cb72f3e 100644 --- a/profiles/minimal.nix +++ b/profiles/minimal.nix @@ -8,22 +8,6 @@ in { #../modules/system/xdg.nix ]; # Allow Cleanup, nix, & flakes - nix = { - settings = { - auto-optimise-store = true; - allowed-users = [ "@wheel" ]; - }; - gc = { - automatic = true; - dates = "daily"; - }; - package = pkgs.nixUnstable; - extraOptions = '' - experimental-features = nix-command flakes - ''; - }; - - nixpkgs.config.allowUnfree = true; # Locale time.timeZone = "America/New_York";