l 3 power-action -> k 3 power-action
This commit is contained in:
parent
947f79a399
commit
b139155bee
@ -28,6 +28,7 @@ let
|
||||
./on-failure.nix
|
||||
./os-release.nix
|
||||
./per-user.nix
|
||||
./power-action.nix
|
||||
./Reaktor.nix
|
||||
./realwallpaper.nix
|
||||
./retiolum-bootstrap.nix
|
||||
|
@ -3,10 +3,10 @@
|
||||
with config.krebs.lib;
|
||||
|
||||
let
|
||||
cfg = config.lass.power-action;
|
||||
cfg = config.krebs.power-action;
|
||||
|
||||
out = {
|
||||
options.lass.power-action = api;
|
||||
options.krebs.power-action = api;
|
||||
config = lib.mkIf cfg.enable imp;
|
||||
};
|
||||
|
@ -58,7 +58,7 @@ with config.krebs.lib;
|
||||
# };
|
||||
#}
|
||||
{
|
||||
lass.power-action.battery = "BAT1";
|
||||
krebs.power-action.battery = "BAT1";
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -11,7 +11,7 @@ let
|
||||
'';
|
||||
|
||||
in {
|
||||
lass.power-action = {
|
||||
krebs.power-action = {
|
||||
enable = true;
|
||||
plans.low-battery = {
|
||||
upperLimit = 30;
|
||||
@ -36,6 +36,6 @@ in {
|
||||
];
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
${config.lass.power-action.user.name} ALL= (root) NOPASSWD: ${suspend}
|
||||
${config.krebs.power-action.user.name} ALL= (root) NOPASSWD: ${suspend}
|
||||
'';
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ _:
|
||||
./ejabberd
|
||||
./folderPerms.nix
|
||||
./mysql-backup.nix
|
||||
./power-action.nix
|
||||
./umts.nix
|
||||
./urxvtd.nix
|
||||
./wordpress_nginx.nix
|
||||
|
Loading…
Reference in New Issue
Block a user