summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-06-22 21:13:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-06-22 21:13:23 +0200
commitba907ef7b4f5962a11c20adb4036b6ddad26a000 (patch)
tree25f1aa3d84ef13a69afa9fc1f648822224429de6 /system-profiles
parent173f53c48c42fbf8efc23b1393a71e9e688bfcec (diff)
downloadnixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.gz
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.bz2
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.xz
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.zip
...
Diffstat (limited to 'system-profiles')
-rw-r--r--system-profiles/core/default.nix8
-rw-r--r--system-profiles/nfsroot.nix2
-rw-r--r--system-profiles/zfs.nix5
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
3with lib; 3with 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;