Files
2026-09-08 09:41:21 +02:00

79 lines
1.7 KiB
Nix

{ inputs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/system
../../modules/system/netbird.nix
../../modules/system/zsa-keyboard.nix
../../modules/system/fleet.nix
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
inputs.nixos-hardware.nixosModules.framework-intel-core-ultra-series1
];
networking.hostName = "lpt-mans-spup";
networking.nameservers = [
"1.1.1.1"
"1.0.0.1"
];
services.resolved = {
enable = true;
settings.Resolve = {
DNSSEC = "true";
Domains = [ "~." ];
DNSOverTLS = "true";
FallbackDNS = [
"1.1.1.1"
"1.0.0.1"
];
};
};
custom.isLaptop = true;
custom.displays = {
"eDP-1" = {
mode = "2256x1504@60Hz";
pos = "0 164";
scale = "2";
}; # laptop panel - left of the externals, vertically centered
"DP-5" = {
mode = "1920x1080@60Hz";
pos = "1128 0";
}; # Iiyama PL2483H - middle
"DP-6" = {
mode = "1920x1080@60Hz";
pos = "3048 0";
}; # Iiyama PLE2483H - right
};
custom.workspaceOutputs = {
"1" = "DP-6";
"2" = "DP-6";
"3" = "DP-6";
"4" = "DP-6";
"5" = "DP-6";
"6" = "DP-5";
"7" = "DP-5";
"8" = "DP-5";
"9" = "DP-5";
"10" = "eDP-1";
};
# swap
boot.initrd.luks.devices."luks-0fa60108-5bdd-49ad-b1e9-c14ecd2e194c".device =
"/dev/disk/by-uuid/0fa60108-5bdd-49ad-b1e9-c14ecd2e194c";
# CA
security.pki.certificateFiles = [
./speakup_corp__ca.pem
];
# See https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion
# Pin this to the release used at install time and DO NOT change it on upgrades.
system.stateVersion = "26.05";
}