mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
22 lines
614 B
Nix
22 lines
614 B
Nix
{...}: {
|
|
imports = [./default.nix];
|
|
|
|
home-manager.users.seb = {
|
|
wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1";
|
|
|
|
services.hypridle = {
|
|
beforeSleepCmd = "loginctl lock-session";
|
|
listeners = [
|
|
{
|
|
timeout = 300;
|
|
onTimeout = "brillo -q -O && brillo -q -S 10";
|
|
onResume = "brillo -q -I";
|
|
}
|
|
{
|
|
timeout = 1200;
|
|
onTimeout = "systemctl suspend";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|