From ba1aff1f79cbdda95c3a4107486d9f0281d64a71 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Tue, 4 Jun 2024 21:36:38 +0100 Subject: [PATCH] feat(amy): initial configs --- hosts/amy/configuration.nix | 11 +++++++++++ hosts/amy/hardware-configuration.nix | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 hosts/amy/configuration.nix create mode 100644 hosts/amy/hardware-configuration.nix 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"; + }; +}