mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Minor cleanup
This commit is contained in:
parent
97af022c1a
commit
8af96429ff
4 changed files with 12 additions and 18 deletions
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."40-eno1" = {
|
||||
matchConfig.Name = "eno1";
|
||||
networkConfig.DHCP = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./nextcloud
|
||||
./paperless
|
||||
];
|
||||
}
|
||||
|
|
@ -46,7 +46,6 @@
|
|||
enable = true;
|
||||
networks."40-mv-eno1" = {
|
||||
matchConfig.Name = "mv-eno1";
|
||||
address = [ "192.168.2.254/24" ];
|
||||
networkConfig.DHCP = "yes";
|
||||
dhcpV4Config.ClientIdentifier = "mac";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
enable = true;
|
||||
networks."40-mv-eno1" = {
|
||||
matchConfig.Name = "mv-eno1";
|
||||
address = [ "192.168.2.253/24" ];
|
||||
networkConfig.DHCP = "yes";
|
||||
dhcpV4Config.ClientIdentifier = "mac";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
../common.nix
|
||||
./hardware.nix
|
||||
./disko.nix
|
||||
./containers
|
||||
|
||||
./containers/nextcloud
|
||||
./containers/paperless
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
|
@ -17,4 +19,13 @@
|
|||
exitNode.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-eno1" = {
|
||||
matchConfig.Name = "eno1";
|
||||
networkConfig.DHCP = "yes";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue