fix packard-server boot

This commit is contained in:
Dmitriy Kholkin 2022-01-30 20:18:11 +03:00
parent 993274b010
commit 7e52d257d9
2 changed files with 5 additions and 4 deletions

View File

@ -34,6 +34,5 @@
boot.loader = {
timeout = lib.mkForce 4;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
}

View File

@ -21,9 +21,11 @@
autoOptimiseStore = false;
package = inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: {
patches = [ ./nix.patch ] ++ oa.patches or [ ];
});
package = if !config.deviceSpecific.isServer then
inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: {
patches = [ ./nix.patch ] ++ oa.patches or [ ];
})
else pkgs.nixStable;
extraOptions = ''
experimental-features = nix-command flakes