nftable-migration
1{
2 ...
3}:
4{
5 imports = [
6 ../common/hardware/acpid.nix
7 ];
8 fileSystems."/" = {
9 device = "/dev/disk/by-uuid/92ce650d-873e-41c1-a44e-71c2b9191b9d";
10 fsType = "ext4";
11 options = [
12 "noatime"
13 "discard"
14 ];
15 };
16 fileSystems."/boot" = {
17 device = "/dev/disk/by-uuid/B226-075A";
18 fsType = "vfat";
19 };
20 fileSystems."/home" = {
21 device = "/dev/disk/by-uuid/4f614c00-d94d-42f9-8386-3ecd396aa246";
22 fsType = "ext4";
23 options = [
24 "noatime"
25 "discard"
26 ];
27 };
28 fileSystems."/mnt/gaia" = {
29 device = "/dev/disk/by-uuid/88d3d686-d451-4ba9-bd6e-373601ed2683";
30 fsType = "ext4";
31 options = [ "noatime" ];
32 };
33 fileSystems."/mnt/toshito" = {
34 device = "/dev/disk/by-uuid/3c7cf84e-2486-417d-9de8-4b7757d483e4";
35 fsType = "ext4";
36 options = [ "noatime" ];
37 };
38
39 fileSystems."/export/gaia" = {
40 device = "/mnt/gaia";
41 options = [ "bind" ];
42 };
43 fileSystems."/export/toshito" = {
44 device = "/mnt/toshito";
45 options = [ "bind" ];
46 };
47
48 swapDevices = [ { device = "/dev/disk/by-uuid/9eb067d1-b329-4fbb-ae27-38abfbe7c108"; } ];
49
50 networking = {
51 firewall.enable = false; # we are in safe territory :D
52 bridges.br1.interfaces = [ "enp0s31f6" ];
53 useDHCP = false;
54 interfaces.br1 = {
55 useDHCP = true;
56 };
57 };
58}