auto-update-daily-20260202
1{
2 ...
3}:
4{
5 imports = [
6 ../common/hardware/acpid.nix
7 ../common/services/nfs-mounts.nix
8 ];
9 fileSystems."/" = {
10 device = "/dev/disk/by-uuid/92ce650d-873e-41c1-a44e-71c2b9191b9d";
11 fsType = "ext4";
12 options = [
13 "noatime"
14 "discard"
15 ];
16 };
17 fileSystems."/boot" = {
18 device = "/dev/disk/by-uuid/B226-075A";
19 fsType = "vfat";
20 };
21 fileSystems."/home" = {
22 device = "/dev/disk/by-uuid/4f614c00-d94d-42f9-8386-3ecd396aa246";
23 fsType = "ext4";
24 options = [
25 "noatime"
26 "discard"
27 ];
28 };
29 fileSystems."/mnt/gaia" = {
30 device = "/dev/disk/by-uuid/88d3d686-d451-4ba9-bd6e-373601ed2683";
31 fsType = "ext4";
32 options = [ "noatime" ];
33 };
34 fileSystems."/mnt/toshito" = {
35 device = "/dev/disk/by-uuid/3c7cf84e-2486-417d-9de8-4b7757d483e4";
36 fsType = "ext4";
37 options = [ "noatime" ];
38 };
39
40 fileSystems."/export/gaia" = {
41 device = "/mnt/gaia";
42 options = [ "bind" ];
43 };
44 fileSystems."/export/toshito" = {
45 device = "/mnt/toshito";
46 options = [ "bind" ];
47 };
48
49 swapDevices = [ { device = "/dev/disk/by-uuid/9eb067d1-b329-4fbb-ae27-38abfbe7c108"; } ];
50
51 # NFS mounts from rhea and aion
52 services.nfs-mounts.hosts = {
53 rhea = {
54 server = "rhea.sbr.pm";
55 folders = [
56 "audiobooks"
57 "downloads"
58 "ebooks"
59 "music"
60 "pictures"
61 "videos"
62 ];
63 };
64 aion = {
65 server = "aion.sbr.pm";
66 folders = [
67 "audiobooks"
68 "music"
69 ];
70 };
71 };
72
73 networking = {
74 firewall.enable = false; # we are in safe territory :D
75 bridges.br1.interfaces = [ "enp0s31f6" ];
76 useDHCP = false;
77 interfaces.br1 = {
78 useDHCP = true;
79 };
80 };
81}