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 = { boot.loader = {
timeout = lib.mkForce 4; timeout = lib.mkForce 4;
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
}; };
} }

View File

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