feat: switch frow waybar to quickshell and caelestia

This commit is contained in:
2025-12-07 15:02:21 +01:00
parent 22bd5c7b2a
commit 84c5a72545
7 changed files with 117 additions and 54 deletions

View File

@@ -0,0 +1,60 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.home.desktop.caelestia;
in {
options.home.desktop.caelestia.enable = mkEnableOption "Enables Caelestia Shell";
config.programs.caelestia = mkIf cfg.enable {
inherit (cfg) enable;
systemd = {
enable = true;
target = "graphical-session.target";
environment = [
"QT3_QPA_PLATFORMTHEME=gtk3"
];
};
settings = {
paths.wallpaperDir = "~/Pictures/Wallpapers/nord";
general = {
apps = {
terminal = ["kitty"];
audio = ["pavucontrol"];
playback = ["mpv"];
explorer = ["${pkgs.nemo-with-extensions}/bin/nemo"];
};
idle = {
timeouts = [
{
timeout = 300;
idleAction = "lock";
}
];
};
};
background = {
desktopClock.enabled = true;
visualiser.enabled = true;
};
dashboard = {
enabled = true;
showOnHover = true;
};
launcher = {
enabled = true;
showOnHover = true;
};
bar.status.showAudio = true;
session.commands = {
logout = ["uwsm" "stop"];
shutdown = ["systemctl" "poweroff"];
hibernate = ["systemctl" "hibernate"];
reboot = ["systemctl" "reboot"];
};
};
cli.enable = true;
};
}

View File

@@ -7,6 +7,7 @@ with lib; let
cfg = config.home.desktop;
in {
imports = [
./caelestia.nix
./eww.nix
./hyprland.nix
./kdeconnect.nix

View File

@@ -2,11 +2,14 @@
config,
lib,
pkgs,
inputs,
...
}:
with lib; let
cfg = config.home.desktop.hyprland;
laptops = ["gampo"];
system = pkgs.stdenv.hostPlatform.system;
caelestia = inputs.caelestia-shell.packages.${system}.default;
in {
imports = [
./swaync.nix
@@ -106,7 +109,6 @@ in {
exec-once = [
"pactl load-module module-switch-on-connect"
"${pkgs.mpc}/bin/mpc stop"
"${pkgs.networkmanagerapplet}/bin/nm-applet"
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
];
};