1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-02-04 21:51:11 +01:00
commit 3ab713a5b3
64 changed files with 2043 additions and 0 deletions

6
class/server/default.nix Normal file
View file

@ -0,0 +1,6 @@
{
imports = [
./fs.nix
./time.nix
];
}

12
class/server/fs.nix Normal file
View file

@ -0,0 +1,12 @@
{
fileSystems = {
"/home" = {
device = "tmpfs";
fsType = "tmpfs";
options = ["size=4G" "mode=751"];
};
"/nix".device = "/dev/disk/by-label/main";
"/persist".device = "/dev/disk/by-label/main";
"/var/log".device = "/dev/disk/by-label/main";
};
}

3
class/server/time.nix Normal file
View file

@ -0,0 +1,3 @@
{
time.timeZone = "UTC";
}