nixos: remove nixpkgs module

This commit is contained in:
Zynh Ludwig 2024-08-21 23:48:09 -07:00
parent e0cd176d1e
commit 712fa9eacd
2 changed files with 0 additions and 18 deletions

View file

@ -14,5 +14,4 @@ in
snowhawk.audio.enable = lib.mkDefault true; snowhawk.audio.enable = lib.mkDefault true;
snowhawk.env.enable = lib.mkDefault true; snowhawk.env.enable = lib.mkDefault true;
snowhawk.sops.enable = lib.mkDefault true; snowhawk.sops.enable = lib.mkDefault true;
snowhawk.nixpkgs.enable = lib.mkDefault false;
} }

View file

@ -1,17 +0,0 @@
{ lib, config, self, ... }:
let
cfg = config.snowhawk.nixpkgs;
in
{
options.snowhawk.nixpkgs = {
enable = lib.mkEnableOption "nixpkgs settings";
};
config = lib.mkIf cfg.enable {
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ self.overlays.default ];
};
}