diff options
Diffstat (limited to 'system-profiles')
| -rw-r--r-- | system-profiles/core/default.nix | 8 | ||||
| -rw-r--r-- | system-profiles/nfsroot.nix | 2 | ||||
| -rw-r--r-- | system-profiles/zfs.nix | 5 |
3 files changed, 5 insertions, 10 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index 229a007e..e5f9dc16 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix | |||
| @@ -180,13 +180,7 @@ in { | |||
| 180 | }; | 180 | }; |
| 181 | environment.systemPackages = with pkgs; [ git-annex scutiger ]; | 181 | environment.systemPackages = with pkgs; [ git-annex scutiger ]; |
| 182 | } | 182 | } |
| 183 | ] ++ (optional (options ? system.switch.enableNg) { | 183 | ] ++ (optional (options ? system.rebuild.enableNg) { |
| 184 | system.switch = lib.mkDefault { | ||
| 185 | enable = false; | ||
| 186 | enableNg = true; | ||
| 187 | }; | ||
| 188 | }) | ||
| 189 | ++ (optional (options ? system.rebuild.enableNg) { | ||
| 190 | system.rebuild.enableNg = lib.mkDefault true; | 184 | system.rebuild.enableNg = lib.mkDefault true; |
| 191 | }) | 185 | }) |
| 192 | ++ (optional (options ? services.userborn) { | 186 | ++ (optional (options ? services.userborn) { |
diff --git a/system-profiles/nfsroot.nix b/system-profiles/nfsroot.nix index b0116d61..12d5d2b4 100644 --- a/system-profiles/nfsroot.nix +++ b/system-profiles/nfsroot.nix | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | { config, options, pkgs, lib, flake, flakeInputs, ... }: | 1 | { config, options, pkgs, lib, flake, ... }: |
| 2 | 2 | ||
| 3 | with lib; | 3 | with lib; |
| 4 | 4 | ||
diff --git a/system-profiles/zfs.nix b/system-profiles/zfs.nix index a93dddd2..f3147f9e 100644 --- a/system-profiles/zfs.nix +++ b/system-profiles/zfs.nix | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | { pkgs, lib, ... } : { | 1 | { config, pkgs, lib, ... } : { |
| 2 | config = { | 2 | config = { |
| 3 | boot = { | 3 | boot = { |
| 4 | kernelPackages = pkgs.linuxPackages_6_12; | 4 | kernelPackages = lib.mkIf (!config.boot.kernel.llvm.enable) pkgs.linuxPackages_6_12; |
| 5 | kernel.llvm.kernel = lib.mkIf config.boot.kernel.llvm.enable pkgs.linux_6_12; | ||
| 5 | zfs.package = pkgs.zfs_2_3; | 6 | zfs.package = pkgs.zfs_2_3; |
| 6 | 7 | ||
| 7 | supportedFilesystems.zfs = true; | 8 | supportedFilesystems.zfs = true; |
