2020-10-17 23:18:22 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2020-12-05 16:05:26 +01:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules
|
|
|
|
../../users/simon
|
|
|
|
];
|
2020-10-17 23:18:22 +02:00
|
|
|
|
2020-12-05 13:48:06 +01:00
|
|
|
sbruder = {
|
2020-12-05 16:00:34 +01:00
|
|
|
cpu.intel.enable = true;
|
2020-12-05 15:57:23 +01:00
|
|
|
gpu.amd.enable = true;
|
2020-12-05 15:44:58 +01:00
|
|
|
gui.enable = true;
|
2020-12-05 15:37:44 +01:00
|
|
|
libvirt.enable = true;
|
2020-12-05 14:19:34 +01:00
|
|
|
restic.enable = true;
|
2020-12-05 15:33:36 +01:00
|
|
|
ssd.enable = true;
|
2020-12-05 14:39:36 +01:00
|
|
|
wireguard.home = {
|
|
|
|
enable = true;
|
|
|
|
address = "10.80.0.5";
|
|
|
|
};
|
2020-12-05 13:48:06 +01:00
|
|
|
};
|
|
|
|
|
2020-10-17 23:18:22 +02:00
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/ata-MTFDDAK256TBN-1AR15ABHA_UFZMQ01ZR50NMM";
|
|
|
|
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
root = {
|
|
|
|
name = "root";
|
|
|
|
device = "/dev/disk/by-uuid/d7e4d213-8a13-4059-a011-0f68081e86d8";
|
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems.data = {
|
|
|
|
mountPoint = "/data";
|
|
|
|
device = "/dev/mapper/data";
|
|
|
|
encrypted = {
|
|
|
|
label = "data";
|
|
|
|
enable = true;
|
|
|
|
blkDev = "/dev/disk/by-uuid/576088d4-9aae-4159-a028-feadb2621a1a";
|
|
|
|
keyFile = "/mnt-root" + toString ./secrets/data_luks_key;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "sayuri";
|
|
|
|
}
|