Compare commits

..

No commits in common. "53b88094328d0062db49c4d64a6c0b92f8f135ae" and "0c706f4a0b44ebf129464d7f22c0502c4a50c993" have entirely different histories.

8 changed files with 1 additions and 14 deletions

View file

@ -6,6 +6,7 @@ let
device = "/dev/sda1"; device = "/dev/sda1";
fsType = "ext4"; fsType = "ext4";
}; };
nixpkgs.hostPlatform = "x86_64-linux";
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
networking = { inherit hostName; }; networking = { inherit hostName; };
}; };

View file

@ -1,14 +0,0 @@
{ config, ... }:
{
flake.modules.nixos.default =
{ hostName, ... }:
let
inherit (config.flake.manifest.hosts.nixos.${hostName}.machine) platform;
arch = if platform == "amd" || platform == "intel" then "x86_64" else "aarch64";
in
{
hardware.cpu.${platform}.updateMicrocode = true;
boot.kernelModules = [ "kvm-${platform}" ];
nixpkgs.hostPlatform = "${arch}-linux";
};
}