mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 18:58:28 +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
|
# Manage session
|
||||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||||
|
bindrl = SUPER CONTROL, S, exec, systemctl sleep
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
# Manage session
|
# Manage session
|
||||||
bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock
|
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, P, exec, poweroff
|
||||||
bindrl = SUPER CONTROL, R, exec, reboot
|
bindrl = SUPER CONTROL, R, exec, reboot
|
||||||
bindrl = SUPER CONTROL, H, exec, systemctl hibernate
|
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
|
bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off
|
||||||
|
|
||||||
# Control media
|
# Control media
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@ in
|
||||||
options.custom.services.alloy = {
|
options.custom.services.alloy = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nullOr lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = null;
|
||||||
};
|
};
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
type = lib.types.port;
|
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";
|
console.keyMap = "de-latin1-nodeadkeys";
|
||||||
|
|
||||||
|
security.sudo.extraConfig = "Defaults pwfeedback";
|
||||||
|
|
||||||
sops.secrets."seb-password".neededForUsers = true;
|
sops.secrets."seb-password".neededForUsers = true;
|
||||||
users = {
|
users = {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,10 @@
|
||||||
services = {
|
services = {
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
|
alloy = {
|
||||||
|
enable = true;
|
||||||
|
domain = null;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue