add hardware-configuration.nix

default.nix
Alexander Tomokhov 2023-06-28 09:05:17 +04:00
parent fc04f570b5
commit 7329e8eb77
2 changed files with 8 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,4 +1,3 @@
userdata/userdata.json
userdata/tokens.json
hardware-configuration.nix
networking.nix
networking.nix

View File

@ -0,0 +1,7 @@
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
}