37 lines
605 B
Nix
37 lines
605 B
Nix
_: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./storage.nix
|
|
./networking.nix
|
|
./services
|
|
];
|
|
|
|
networking.nameservers = [
|
|
"1.1.1.1"
|
|
"9.9.9.9"
|
|
];
|
|
|
|
networking = {
|
|
hostName = "fili";
|
|
};
|
|
|
|
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";
|
|
}
|