summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
Diffstat (limited to 'lass')
-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;
};