2023-09-05 23:51:32 -05:00
|
|
|
{ config, modulesPath, ... }: {
|
|
|
|
imports = [
|
|
|
|
../modules/amd.nix
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
2023-09-05 21:46:55 -05:00
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "usbhid" "uas" "sd_mod" ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
2023-09-05 23:51:32 -05:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/2e2ad73a-6264-4a7b-8439-9c05295d903d";
|
|
|
|
fsType = "f2fs";
|
|
|
|
};
|
2023-09-05 21:46:55 -05:00
|
|
|
|
2023-09-05 23:51:32 -05:00
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/sda";
|
|
|
|
};
|
2023-09-05 21:46:55 -05:00
|
|
|
|
2023-09-05 23:51:32 -05:00
|
|
|
networking = {
|
|
|
|
hostName = "rascal";
|
|
|
|
networkmanager.enable = true;
|
2023-09-05 21:46:55 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
users.users.beefcake = {
|
|
|
|
# used for restic backups
|
|
|
|
isNormalUser = true;
|
2023-09-05 23:51:32 -05:00
|
|
|
openssh.authorizedKeys.keys = config.users.users.daniel.openssh.authorizedKeys.keys ++ [
|
2023-09-05 21:46:55 -05:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK7HrojwoyHED+A/FzRjYmIL0hzofwBd9IYHH6yV0oPO root@beefcake"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-09-05 23:51:32 -05:00
|
|
|
system.stateVersion = "22.05";
|
2023-09-05 21:46:55 -05:00
|
|
|
}
|
|
|
|
|