summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-26 13:35:04 -0500
committerShea Levy <shea@shealevy.com>2014-02-26 13:35:04 -0500
commit32470621d51fce499dfcabccfbdecbf93c0388b9 (patch)
treef9c56e0cf549d1c24d47795ee0065751e23fce24 /nixos/modules/system/boot/systemd.nix
parent69b6b939efbc17ec9cedde521763ea26c29982b3 (diff)
downloadnixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar.gz
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar.bz2
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar.lz
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar.xz
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.tar.zst
nixpkgs-32470621d51fce499dfcabccfbdecbf93c0388b9.zip
Restart keys.target on reconfiguration
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index e0773c1fab4..2d1bb5ae980 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -649,6 +649,7 @@ in
 
     systemd.targets.keys =
       { description = "Security Keys";
+        unitConfig.X-StopOnReconfiguration = true;
       };
 
     systemd.units =