server/fili/configuration.nix
Jana Dönszelmann acd7def6ed
Some checks failed
/ lint (push) Failing after 32s
nix on kil
2026-01-20 16:51:45 +01:00

46 lines
764 B
Nix

_: {
imports = [
./hardware-configuration.nix
./storage.nix
./networking.nix
./services
];
networking.nameservers = [
"1.1.1.1"
"9.9.9.9"
];
networking = {
hostName = "fili";
networkmanager.enable = true;
};
nix.settings = {
# users that can interact with nix
trusted-users = [
"jana"
"root"
];
};
boot.initrd = {
supportedFilesystems = [ "nfs" ];
kernelModules = [ "nfs" ];
};
# use systemd-boot as bootloader
boot.loader.systemd-boot.enable = true;
# secrets
sops.age.keyFile = "/sops/sops-key.txt";
sops.defaultSopsFormat = "dotenv";
users.extraUsers.jana.extraGroups = [
"storage"
"syncthing"
"jellyfin"
"media"
"nginx"
];
}