Switch to greetd to fix the service crisis

This commit is contained in:
Bun 2025-05-06 08:23:30 -04:00
parent bbe92e5cd7
commit fbec76baa7
9 changed files with 31 additions and 19 deletions

View file

@ -4,11 +4,9 @@
username = "bun";
homeDirectory = "/home/${config.home.username}";
sessionVariables = {
ELECTRON_OZONE_PLATFORM_HINT = "auto";
LIBVIRT_DEFAULT_URI = "qemu:///system";
MANPAGER = "nvim +Man!";
NIXPKGS_ALLOW_UNFREE = 1;
ZSH_DISABLE_COMPFIX = "true";
};
};
}

View file

@ -0,0 +1,4 @@
{ config, ... }:
{
services.clipman.enable = config.home.desktop.enable;
}

View file

@ -1,22 +1,21 @@
{ config, lib, pkgs, ... }:
{
imports = [
./clipman
./kanshi
./mako
./rofi
./swaylock
./waybar
./wlsunset
];
home.packages = with pkgs; lib.mkIf config.home.desktop.enable [
brightnessctl
clipman
hyprpicker
libnotify
rot8
shotman
wdisplays
wl-clipboard
wlsunset
];
}

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
services.wlsunset = {
enable = config.home.desktop.enable;
sunrise = "07:30";
sunset = "22:30";
};
}

View file

@ -10,13 +10,7 @@
{ command = "foot -a sound -T Sound pulsemixer"; }
# Daemons and tray
{ command = "kanshi"; }
{ command = "mako"; }
{ command = "rot8"; }
{ command = "wl-copy"; }
{ command = "wl-paste -t text --watch clipman store -P"; }
{ command = "wlsunset -s 22:30 -S 07:30"; }
{ command = "wpaperd"; }
# Foreground
{ command = "thunderbird"; }