diff options
Diffstat (limited to 'modules/nix/nixos/default.nix')
| -rw-r--r-- | modules/nix/nixos/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/nix/nixos/default.nix b/modules/nix/nixos/default.nix index 07e7f44..7116371 100644 --- a/modules/nix/nixos/default.nix +++ b/modules/nix/nixos/default.nix @@ -1,9 +1,12 @@ { + inputs, config, pkgs, ... }: { nix = { + # package = inputs.determinate.packages.${pkgs.system}.default; + gc.automatic = false; # use nh cleaner instead # Make builds run with low priority so my system stays responsive @@ -15,15 +18,13 @@ auto-optimise-store = true; use-xdg-base-directories = true; }; - }; - # Disable channels - nix.channel.enable = false; - - nixpkgs = { - config.allowUnfree = true; + # Disable channels + channel.enable = false; }; + nixpkgs.config.allowUnfree = true; + programs.nh = { enable = true; flake = "/home/collin/nixos"; |
