Compare commits

..

4 commits

6 changed files with 11 additions and 4 deletions

View file

@ -46,6 +46,7 @@
# Manage session
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
bindrl = SUPER CONTROL, S, exec, systemctl sleep
'';
};
}

View file

@ -36,6 +36,7 @@
# Manage session
bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock
bindrl = SUPER CONTROL, S, exec, $ipc sessionMenu lockAndSuspend
'';
};
}

View file

@ -49,7 +49,6 @@
bindrl = SUPER CONTROL, P, exec, poweroff
bindrl = SUPER CONTROL, R, exec, reboot
bindrl = SUPER CONTROL, H, exec, systemctl hibernate
bindrl = SUPER CONTROL, S, exec, systemctl sleep
bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off
# Control media

View file

@ -11,8 +11,8 @@ in
options.custom.services.alloy = {
enable = lib.mkEnableOption "";
domain = lib.mkOption {
type = lib.types.nonEmptyStr;
default = "";
type = lib.types.nullOr lib.types.nonEmptyStr;
default = null;
};
port = lib.mkOption {
type = lib.types.port;
@ -128,6 +128,6 @@ in
};
};
custom.services.caddy.virtualHosts.${cfg.domain}.port = cfg.port;
custom.services.caddy.virtualHosts.${cfg.domain}.port = lib.mkIf (cfg.domain != null) cfg.port;
};
}

View file

@ -73,6 +73,8 @@
console.keyMap = "de-latin1-nodeadkeys";
security.sudo.extraConfig = "Defaults pwfeedback";
sops.secrets."seb-password".neededForUsers = true;
users = {
mutableUsers = false;

View file

@ -25,6 +25,10 @@
services = {
sound.enable = true;
syncthing.enable = true;
alloy = {
enable = true;
domain = null;
};
};
};