hosts: first try fix network reload

This commit is contained in:
Kabbone 2023-03-19 07:31:41 +01:00
parent 4308897cb2
commit a53d537c15
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
3 changed files with 26 additions and 20 deletions

36
flake.lock generated
View File

@ -51,11 +51,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1678729503,
"narHash": "sha256-j+h4Bdqbe+qjzhxdhkRmVgSx2lxJ8HnKeYcAhhnd1zM=",
"lastModified": 1679067095,
"narHash": "sha256-G2dJQURL/CCi+8RP6jNJG8VqgtzEMCA+6mNodd3VR6E=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "24c1a6335e3da6a3ecf82f33ac50c2ad66aee346",
"rev": "3239e0b40f242f47bf6c0c37b2fd35ab3e76e370",
"type": "github"
},
"original": {
@ -74,11 +74,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1678804620,
"narHash": "sha256-aH8ozYYO5itWlKv7iL+eEO9qsALXOkZ1wpex3A+9jiA=",
"lastModified": 1679192392,
"narHash": "sha256-LMUG9/xgFaUlocHz4r5xJLAe1XT4rvA5ZL/vrQnfHBQ=",
"owner": "vaxerski",
"repo": "Hyprland",
"rev": "f960f72785141639c2f68f05a27edbebeac2210f",
"rev": "928de3344767b1c8aeade24d57b188aeef57a273",
"type": "github"
},
"original": {
@ -110,11 +110,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1678397099,
"narHash": "sha256-5xq8YJe+h19TlD+EI4AE/3H3jcCcQ2AWU6CWBVc5tRc=",
"lastModified": 1679075297,
"narHash": "sha256-8TwS7NPQWW9iPejBwWzmjLnK8bQhdOMPpsj3KPAL6x8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "556101ff85bd6e20900ec73ee525b935154bc8ea",
"rev": "994584bb26ffa1deeaf56099601ef4bcc487273e",
"type": "github"
},
"original": {
@ -126,11 +126,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1678654296,
"narHash": "sha256-aVfw3ThpY7vkUeF1rFy10NAkpKDS2imj3IakrzT0Occ=",
"lastModified": 1679081381,
"narHash": "sha256-n4+SbrVohxbgbmOTkodfxc3d8W38OfKowD6YNA8j27o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5a1dc8acd977ff3dccd1328b7c4a6995429a656b",
"rev": "b573a7f69484a7d213680abb70b4f95bdc28eee5",
"type": "github"
},
"original": {
@ -142,11 +142,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1678703398,
"narHash": "sha256-Y1mW3dBsoWLHpYm+UIHb5VZ7rx024NNHaF16oZBx++o=",
"lastModified": 1679058649,
"narHash": "sha256-tXbTGzCFFk5G0IOlhhuQtf3KQ0+9RNDk4O2YmEgvppk=",
"owner": "NixOS",
"repo": "nIxpkgs",
"rev": "67f26c1cfc5d5783628231e776a81c1ade623e0b",
"rev": "328c9c6f597b1edb75a114df61113d87c61ad60d",
"type": "github"
},
"original": {
@ -158,11 +158,11 @@
},
"nur": {
"locked": {
"lastModified": 1678788009,
"narHash": "sha256-O9nMPCAly/lUJHqtz8IAa8sf4uuB/6arHDEyQoRXTyw=",
"lastModified": 1679199302,
"narHash": "sha256-8t3pYy57aO/JssIO/wQ+GKtyhkUgrKUe95hr5BBg53s=",
"owner": "nix-community",
"repo": "NUR",
"rev": "a93973a3dd17284678ad6691dd38246b6ea3bf4f",
"rev": "609e8d045f7de1a02ea0e366e810c5eeeae8fe70",
"type": "github"
},
"original": {

View File

@ -160,7 +160,9 @@
};
systemd.services = {
ovs-vswitchd.partOf = [ "network-setup.service" ];
"ovsdb".partOf = [ "network-setup.service" ];
"ovs-vswitchd".partOf = [ "network-setup.service" ];
"network-addresses-lo1".partOf = [ "network-setup.service" ];
};
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View File

@ -228,7 +228,11 @@
};
systemd.services = {
ovs-vswitchd.partOf = [ "network-setup.service" ];
"ovsdb".partOf = [ "network-setup.service" ];
"ovs-vswitchd".partOf = [ "network-setup.service" ];
"network-addresses-lo1" = {
requires = [ "network-setup.service" ];
}
};
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;