switch to cap based home configs
This commit is contained in:
parent
50ee9aac83
commit
49b6f5bde0
64 changed files with 2064 additions and 1779 deletions
|
|
@ -1,46 +0,0 @@
|
|||
_: {
|
||||
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"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue