feat(amy): initial configs

This commit is contained in:
Ashhhleyyy 2024-06-04 21:36:38 +01:00
parent 38d26f81f4
commit ba1aff1f79
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 22 additions and 0 deletions

View file

@ -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";
}

View file

@ -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";
};
}