mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
25 lines
618 B
Nix
25 lines
618 B
Nix
{...}: {
|
|
imports = [./default.nix];
|
|
|
|
home-manager.users.seb = {
|
|
myConfig.de.widget = {
|
|
backlight = {
|
|
enable = true;
|
|
device = "amdgpu_bl1";
|
|
};
|
|
battery.enable = true;
|
|
};
|
|
|
|
wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1";
|
|
|
|
services.hypridle = {
|
|
beforeSleepCmd = "loginctl lock-session";
|
|
listeners = [
|
|
{
|
|
timeout = 1800;
|
|
onTimeout = "systemctl suspend";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|