diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-07-03 23:56:41 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-03 23:56:41 +0400 |
commit | 00a46135630d5f45bf3eceaec5fa6d12ccbc128c (patch) | |
tree | dc09f86ebb1861b037e5186f736e37fc8c3568e4 /nixos/modules/services/hardware/tlp.nix | |
parent | 77d9966d931a0b74616f7d782060bdf33713bcda (diff) | |
parent | 1ea9d71e08f050ca58d280a841a068e927cb0009 (diff) | |
download | nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar.gz nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar.bz2 nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar.lz nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar.xz nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.tar.zst nixpkgs-00a46135630d5f45bf3eceaec5fa6d12ccbc128c.zip |
Merge pull request #16681 from Aske/tlp-restart
tlp service: add restart on config change
Diffstat (limited to 'nixos/modules/services/hardware/tlp.nix')
-rw-r--r-- | nixos/modules/services/hardware/tlp.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/tlp.nix b/nixos/modules/services/hardware/tlp.nix index 9230602439e..5ab7daafa85 100644 --- a/nixos/modules/services/hardware/tlp.nix +++ b/nixos/modules/services/hardware/tlp.nix @@ -64,6 +64,7 @@ in after = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ]; before = [ "shutdown.target" ]; + restartTriggers = [ confFile ]; serviceConfig = { Type = "oneshot"; |