os/system/thor/core.nix

50 lines
1,012 B
Nix
Raw Normal View History

2023-05-21 21:15:04 +02:00
{ ... }: {
custom = {
gui.pipewire.enable = true;
};
system.stateVersion = "21.11";
home-manager.users.riley.home.stateVersion = "21.11";
networking = {
hostName = "thor";
interfaces."enp9s0".useDHCP = true;
};
boot = {
initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
kernelModules = [ "kvm-amd" ];
binfmt.emulatedSystems = [ "aarch64-linux" ];
loader.systemd-boot = {
enable = true;
editor = false;
configurationLimit = 10;
};
loader.efi.canTouchEfiVariables = true;
initrd.luks.devices.nixos.device = "/dev/disk/by-uuid/6bd51990-1584-422c-94bb-32ea952e5cd2";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/f3cdd2ab-62ba-4d72-8a28-b3adc0ec3997";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A6C8-03F3";
fsType = "vfat";
};
2023-05-22 00:09:59 +02:00
swapDevices = [
{ device = "/dev/nixos/swap"; }
];
2023-05-21 21:15:04 +02:00
}