diff options
author | lassulus <lass@aidsballs.de> | 2016-06-18 19:51:07 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-18 19:51:07 +0200 |
commit | a6d1879739593d0bc53cf218f031b68410767d90 (patch) | |
tree | d6fcc76bd3a0a587c4efee86540c282d9de43e4b /lass/3modules | |
parent | 61c57a2d533334a77d2a0c2cea3fee6380605a0f (diff) |
l 3 power-action: fix some stuff (¯\_(ツ)_/¯)
Diffstat (limited to 'lass/3modules')
-rw-r--r-- | lass/3modules/power-action.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lass/3modules/power-action.nix b/lass/3modules/power-action.nix index fd6dcf57e..631e651ff 100644 --- a/lass/3modules/power-action.nix +++ b/lass/3modules/power-action.nix @@ -1,13 +1,13 @@ { config, lib, pkgs, ... }: -with lib; +with config.krebs.lib; let cfg = config.lass.power-action; out = { options.lass.power-action = api; - config = mkIf cfg.enable imp; + config = lib.mkIf cfg.enable imp; }; api = { @@ -43,7 +43,7 @@ let systemd.services.power-action = { serviceConfig = rec { ExecStart = startScript; - User = cfg.user; + User = cfg.user.name; }; startAt = cfg.startAt; }; |