feat(amy): initial configs
This commit is contained in:
parent
38d26f81f4
commit
ba1aff1f79
2 changed files with 22 additions and 0 deletions
11
hosts/amy/configuration.nix
Normal file
11
hosts/amy/configuration.nix
Normal 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";
|
||||||
|
}
|
11
hosts/amy/hardware-configuration.nix
Normal file
11
hosts/amy/hardware-configuration.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue