starlight: add openafs

This commit is contained in:
Artemis Tosini 2024-05-15 03:08:50 +00:00
parent 7d7db5df0d
commit b4c00ccfe8
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc
2 changed files with 24 additions and 0 deletions

23
sets/openafs.nix Normal file
View file

@ -0,0 +1,23 @@
{ ... }:
{
security.krb5 = {
enable = true;
settings = {
libdefaults.default_realm = "ARTEM.IST";
domain_realm = {
"artem.ist" = "ARTEM.IST";
".artem.ist" = "ARTEM.IST";
};
realms."ARTEM.IST" = {
admin_server = "ironwill.mildlyfunctional.gay";
kdc = "ironwill.mildlyfunctional.gay";
};
};
};
services.openafsClient = {
enable = true;
cellName = "artem.ist";
};
}

View file

@ -17,6 +17,7 @@
../../sets/hacking.nix ../../sets/hacking.nix
../../sets/hardware.nix ../../sets/hardware.nix
../../sets/music.nix ../../sets/music.nix
../../sets/openafs.nix
../../sets/radio.nix ../../sets/radio.nix
../../sets/secureBoot.nix ../../sets/secureBoot.nix
../../sets/sshd.nix ../../sets/sshd.nix