diff options
author | System administrator <root@nixos.yourvserver.net> | 2023-01-06 18:18:24 +0000 |
---|---|---|
committer | System administrator <root@server1.vhack.eu> | 2023-01-06 18:20:30 +0000 |
commit | d522c778c6cb892ba2f7cc95474f60efded391b6 (patch) | |
tree | 02b210cd7666db6c42cb63b718da770c01c25f26 /hardware-configuration.nix | |
download | nixos-server-d522c778c6cb892ba2f7cc95474f60efded391b6.tar.gz nixos-server-d522c778c6cb892ba2f7cc95474f60efded391b6.zip |
Initial Commit
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r-- | hardware-configuration.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..e8756e4 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,9 @@ +{ modulesPath, ... }: +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub.device = "/dev/vda"; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; + boot.initrd.kernelModules = [ "nvme" "btrfs" ]; + fileSystems."/" = { device = "/dev/vda3"; fsType = "ext4"; }; + +} |