summaryrefslogtreecommitdiffstats
path: root/lass/3modules
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-18 19:51:07 +0200
committerlassulus <lass@aidsballs.de>2016-06-18 19:51:07 +0200
commita6d1879739593d0bc53cf218f031b68410767d90 (patch)
treed6fcc76bd3a0a587c4efee86540c282d9de43e4b /lass/3modules
parent61c57a2d533334a77d2a0c2cea3fee6380605a0f (diff)
l 3 power-action: fix some stuff (¯\_(ツ)_/¯)
Diffstat (limited to 'lass/3modules')
-rw-r--r--lass/3modules/power-action.nix6
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;
};