PC-Fixe: migration ZFS miroir

This commit is contained in:
nyanloutre 2019-10-15 21:38:23 +02:00
parent e10c46d37e
commit f5c0934933
2 changed files with 18 additions and 7 deletions

View file

@ -12,11 +12,15 @@
../common-gui.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.memtest86.enable = true;
boot.loader.grub = {
efiSupport = true;
device = "nodev";
zfsSupport = true;
};
boot.kernelParams = ["acpi_enforce_resources=lax"];
boot.tmpOnTmpfs = true;
boot.supportedFilesystems = [ "zfs" ];
hardware.bluetooth.enable = true;
@ -36,6 +40,7 @@
security.pki.certificateFiles = [ ./codemasters.pem ];
networking.hostName = "paul-fixe";
networking.hostId = "3a1f739e";
environment.systemPackages = with pkgs; [
usb_modeswitch
@ -76,5 +81,5 @@
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
system.stateVersion = "18.09";
system.stateVersion = "20.03";
}