diff --git a/hosts/amy/configuration.nix b/hosts/amy/configuration.nix new file mode 100644 index 0000000..95c4d01 --- /dev/null +++ b/hosts/amy/configuration.nix @@ -0,0 +1,11 @@ +{ ... }: { + imports = [ + ./hardware-configuration.nix + ]; + + zramSwap.enable = true; + networking.hostName = "amy"; + networking.domain = "serv.ashhhleyyy.dev"; + services.openssh.enable = true; + system.stateVersion = "23.11"; +} diff --git a/hosts/amy/hardware-configuration.nix b/hosts/amy/hardware-configuration.nix new file mode 100644 index 0000000..7b5a81b --- /dev/null +++ b/hosts/amy/hardware-configuration.nix @@ -0,0 +1,11 @@ +{ modulesPath, ... }: +{ + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub.device = "/dev/sda"; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { + device = "/dev/sda3"; + fsType = "ext4"; + }; +}