nixos-conf/hosts/x86_64-linux/lithium.nix

46 lines
1,017 B
Nix

{ ... }:
{
custom = {
roles = {
desktop.enable = true;
development.enable = true;
personalMachine.enable = true;
study.enable = true;
};
networking = {
printing.enable = true;
homeWg = {
enable = true;
guaSuffix = "3";
};
netflixWg = {
enable = true;
suffix = "8";
};
};
hardware.intelLaptop.enable = true;
platform.hibernate.enable = true;
services = {
syncthing.enable = true;
nixCacheClient.enable = true;
};
};
system.stateVersion = "24.05";
boot.kernelParams = [ "resume_offset=39292928" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/b43fe465-80e9-48d4-a4be-1113c917330e";
fsType = "ext4";
};
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/4dc2fd8c-71da-4b95-91d5-7a118387172b";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/D8BB-B91A";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
}