diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:59:32 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:59:32 +0100 |
| commit | 14ec612c9cb1ad2b24bf249c685d268edfab1c02 (patch) | |
| tree | 94eb70a8c1792f4ba534739292e561556e6bce9b /hosts | |
| parent | e3c7eaecc389a7c1c0ddd501ba46abf4b9c2d6eb (diff) | |
| download | dotfiles-14ec612c9cb1ad2b24bf249c685d268edfab1c02.tar.gz dotfiles-14ec612c9cb1ad2b24bf249c685d268edfab1c02.zip | |
feat: add nixbox configs
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/nixbox/hardware-configuration.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/hosts/nixbox/hardware-configuration.nix b/hosts/nixbox/hardware-configuration.nix new file mode 100644 index 0000000..2c91a21 --- /dev/null +++ b/hosts/nixbox/hardware-configuration.nix @@ -0,0 +1,29 @@ +# Generated by 'nixos-generate-config' for nixbox (QEMU/KVM guest). +# Regenerate with: nixos-generate-config --show-hardware-config +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/096adbf8-2498-4f70-b661-c699dbc4f257"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/AE22-C56D"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} |
