asd
This commit is contained in:
parent
3c5d3c9e08
commit
90b4d59445
1
base.nix
1
base.nix
|
@ -50,7 +50,6 @@
|
|||
# raise to 15 if auto upgrading
|
||||
boot.loader.grub.configurationLimit = lib.mkDefault 5;
|
||||
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 5;
|
||||
boot.loader.raspberryPi.uboot.configurationLimit = lib.mkDefault 5;
|
||||
boot.loader.generic-extlinux-compatible.configurationLimit = lib.mkDefault 5;
|
||||
|
||||
networking.firewall.enable = true; # default
|
||||
|
|
|
@ -6,7 +6,25 @@
|
|||
|
||||
#boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60
|
||||
|
||||
# for testing only, not for building
|
||||
# (from ./binfmt.nix)
|
||||
boot.binfmt.addEmulatedSystemsToNixSandbox = false;
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"aarch64-linux"
|
||||
"armv7l-linux"
|
||||
"riscv64-linux"
|
||||
"x86_64-windows"
|
||||
];
|
||||
#nix.settings.system = "x86_64-linux";
|
||||
#nix.settings.extra-platforms = [ "i686-linux" ];
|
||||
|
||||
imports = [
|
||||
{
|
||||
/* disabledModules = [ "${modulesPath}/nixos/modules/system/boot/binfmt.nix" ]; */
|
||||
disabledModules = [ "system/boot/binfmt.nix" ];
|
||||
imports = [ ./../sopp/binfmt.nix ];
|
||||
}
|
||||
|
||||
./hardware-configuration.nix
|
||||
../../../profiles/sshd.nix
|
||||
#../../../profiles/no-suspend.nix
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
# lots of "empty" updates
|
||||
boot.loader.grub.configurationLimit = 15;
|
||||
boot.loader.systemd-boot.configurationLimit = 15;
|
||||
boot.loader.raspberryPi.uboot.configurationLimit = 15;
|
||||
boot.loader.generic-extlinux-compatible.configurationLimit = 15;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue