summary refs log tree commit diff
path: root/nixos/modules/system/boot/networkd.nix
diff options
context:
space:
mode:
authorWilliButz <wbutz@cyberfnord.de>2019-11-24 22:45:39 +0100
committerWilliButz <wbutz@cyberfnord.de>2019-11-25 10:46:28 +0100
commitb79e3e615a86a5535c0b00e0b52447bd08343d1d (patch)
tree2833c36281479c483fd16bc96f6cfccdbdeff807 /nixos/modules/system/boot/networkd.nix
parent4d78ab0561de30f22ee27c5cd765a84a44a5a62c (diff)
downloadnixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar.gz
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar.bz2
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar.lz
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar.xz
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.tar.zst
nixpkgs-b79e3e615a86a5535c0b00e0b52447bd08343d1d.zip
nixos/networkd: add systemd-network user to group systemd-network
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index f80d5afc55f..226769f1059 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -924,6 +924,8 @@ in
 
   config = mkIf config.systemd.network.enable {
 
+    users.users.systemd-network.group = "systemd-network";
+
     systemd.additionalUpstreamSystemUnits = [
       "systemd-networkd.service" "systemd-networkd-wait-online.service"
     ];