nixos/systems/staubfinger/default.nix

62 lines
1.5 KiB
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, ... }:
2021-11-16 20:57:04 +01:00
{
2022-02-28 22:36:07 +01:00
imports = [
2023-05-29 16:21:23 +02:00
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
2022-02-28 22:36:07 +01:00
];
2021-11-23 20:57:23 +01:00
boot.initrd.availableKernelModules = [
"aesni_intel"
"ahci"
"cryptd"
"sd_mod"
"usb_storage"
"xhci_pci"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
2021-11-16 20:57:04 +01:00
boot.extraModulePackages = [ ];
2021-11-23 22:34:10 +01:00
boot.kernelParams = [
"acpi_osi="
];
boot.initrd.luks.devices."cryptlvm".device = "/dev/sda2";
2023-06-12 16:15:29 +02:00
boot.initrd.luks.devices."cryptswap".device = "/dev/sda3";
2023-06-12 15:23:09 +02:00
boot.loader.efi.efiSysMountPoint = "/boot/efi";
2022-01-03 20:11:17 +01:00
2021-11-23 20:57:23 +01:00
fileSystems."/" = {
2023-06-12 15:23:09 +02:00
device = "/dev/disk/by-uuid/5d2e0ae2-8604-4921-b8b7-731358220a0f";
2021-11-23 20:57:23 +01:00
fsType = "ext4";
};
2023-06-12 15:23:09 +02:00
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/ED86-8844";
2021-11-23 20:57:23 +01:00
fsType = "vfat";
};
2022-01-10 21:08:07 +01:00
2022-09-06 23:03:29 +02:00
networking.hostName = hostname;
2022-01-10 21:08:07 +01:00
2021-11-23 20:57:23 +01:00
swapDevices = [
2023-06-12 16:15:29 +02:00
{ device = "/dev/disk/by-uuid/17a8bd01-095b-41ae-8b90-ecc70ab7b7eb"; }
2021-11-23 20:57:23 +01:00
];
2022-01-10 21:08:07 +01:00
2023-05-27 18:16:19 +02:00
hardware = {
2023-05-29 09:17:12 +02:00
az-bluetooth.enable = true;
az-dvd.enable = true;
2023-05-27 18:16:19 +02:00
};
2023-05-31 21:33:31 +02:00
profiles.az-desktop.enable = true;
2023-05-27 17:38:54 +02:00
programs = {
2023-05-29 09:17:12 +02:00
az-lockscreen.enable = true;
az-makemkv.enable = true;
2023-06-12 15:23:09 +02:00
az-restic-management.enable = true;
2023-05-31 21:12:50 +02:00
az-tmux.enable = true;
2023-05-27 17:38:54 +02:00
};
2023-05-29 17:10:15 +02:00
services = {
az-docker.enable = true;
2023-05-31 22:49:29 +02:00
az-restic-client-desktop.enable = true;
2023-05-31 22:13:56 +02:00
az-tlp.enable = true;
2023-05-29 17:10:15 +02:00
az-x86.enable = true;
};
2022-01-10 21:08:07 +01:00
virtualisation.virtualbox.host.enable = true;
2021-11-16 20:57:04 +01:00
}
2022-01-10 21:08:07 +01:00