mirror of
https://github.com/semere-meb/dotfiles-nix.git
synced 2026-08-03 10:24:36 +00:00
Noctalia used as the desktop shell
This commit is contained in:
parent
fa60f8c87e
commit
dbb0caba4b
10 changed files with 157 additions and 157 deletions
|
|
@ -31,7 +31,6 @@
|
|||
hardware.graphics.enable = true;
|
||||
security.polkit.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
|
@ -55,10 +54,7 @@
|
|||
pamixer
|
||||
brightnessctl
|
||||
wl-clipboard
|
||||
fuzzel
|
||||
libnotify
|
||||
fnott
|
||||
wlopm
|
||||
];
|
||||
|
||||
home-manager.users."${userVars.username}" = {
|
||||
|
|
@ -91,56 +87,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
clock = true;
|
||||
indicator = true;
|
||||
screenshots = true;
|
||||
effect-blur = "7x5";
|
||||
effect-vignette = "0.5:0.5";
|
||||
ring-color = "b085f5";
|
||||
key-hl-color = "5e35b1";
|
||||
line-color = "00000000";
|
||||
inside-color = "00000088";
|
||||
separator-color = "00000000";
|
||||
fade-in = 0.2;
|
||||
};
|
||||
};
|
||||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
events = {
|
||||
before-sleep = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
||||
lock = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
||||
};
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 300;
|
||||
command = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
command = "${pkgs.wlopm}/bin/wlopm --off '*'";
|
||||
resumeCommand = "${pkgs.wlopm}/bin/wlopm --on '*'";
|
||||
}
|
||||
{
|
||||
timeout = 900;
|
||||
command = "${pkgs.systemd}/bin/systemctl hibernate";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.wlsunset = {
|
||||
enable = true;
|
||||
latitude = "52.5";
|
||||
longitude = "13.4";
|
||||
temperature = {
|
||||
day = 6500;
|
||||
night = 4000;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue