diff options
author | Soispha <soispha@vhack.eu> | 2023-07-29 13:59:55 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-29 13:59:55 +0200 |
commit | 12f072b749f978234e360b89d5e2fda9424c11be (patch) | |
tree | 9f3532e755fe720a7aabf06ae8dd4d2396999415 /hosts/isimud/hardware | |
parent | Fix(hm/conf/gpg): Make the keys mutable (diff) | |
download | nixos-config-12f072b749f978234e360b89d5e2fda9424c11be.tar.gz nixos-config-12f072b749f978234e360b89d5e2fda9424c11be.zip |
Feat(host/isimud): Add host isimud for gpg-iso
Diffstat (limited to 'hosts/isimud/hardware')
-rw-r--r-- | hosts/isimud/hardware/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hosts/isimud/hardware/default.nix b/hosts/isimud/hardware/default.nix new file mode 100644 index 00000000..da4ded8d --- /dev/null +++ b/hosts/isimud/hardware/default.nix @@ -0,0 +1,21 @@ +{ + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; + + hardware.cpu.amd.updateMicrocode = true; # Why not? + hardware.cpu.intel.updateMicrocode = true; # Why not? + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + boot = { + kernelModules = []; + kernelPackages = pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs + zfs.enableUnstable = true; # Default zfs is "broken" (to nixos) on the newest kernel + }; +} |