mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 16:38:27 +01:00
Compare commits
4 commits
d0c8b770ac
...
72a9eff74c
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a9eff74c | |||
| 3836b76427 | |||
| b0c5efe028 | |||
| b4aaa77fb3 |
6 changed files with 11 additions and 4 deletions
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
# Manage session
|
||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||
bindrl = SUPER CONTROL, S, exec, systemctl sleep
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
# Manage session
|
||||
bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock
|
||||
bindrl = SUPER CONTROL, S, exec, $ipc sessionMenu lockAndSuspend
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,6 +73,8 @@
|
|||
|
||||
console.keyMap = "de-latin1-nodeadkeys";
|
||||
|
||||
security.sudo.extraConfig = "Defaults pwfeedback";
|
||||
|
||||
sops.secrets."seb-password".neededForUsers = true;
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
services = {
|
||||
sound.enable = true;
|
||||
syncthing.enable = true;
|
||||
alloy = {
|
||||
enable = true;
|
||||
domain = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue