diff options
| author | Christian <[email protected]> | 2026-01-18 21:17:14 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-01-18 21:41:12 -0600 |
| commit | 87be0d3dd54e71f33b9d8a757273ae4f2170e3f0 (patch) | |
| tree | 758db0c339023ef7bdae276dab85770a31c6644f /hosts/hyper-v/hardware-configuration.nix | |
| parent | 44adb7d61e71370acb7d839e6b76270f9a081939 (diff) | |
Multiple configs
Diffstat (limited to 'hosts/hyper-v/hardware-configuration.nix')
| -rw-r--r-- | hosts/hyper-v/hardware-configuration.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/hosts/hyper-v/hardware-configuration.nix b/hosts/hyper-v/hardware-configuration.nix new file mode 100644 index 0000000..0417079 --- /dev/null +++ b/hosts/hyper-v/hardware-configuration.nix @@ -0,0 +1,31 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = [ ]; + + boot.initrd.availableKernelModules = [ "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/11857814-2a7a-4aaa-82bd-7ecea40117d3"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/1FB1-AF5C"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/5cfd31ff-439c-4829-b575-92ea76bec3c4"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + virtualisation.hypervGuest.enable = true; +} |
