feat: switch frow waybar to quickshell and caelestia
This commit is contained in:
86
flake.lock
generated
86
flake.lock
generated
@@ -33,24 +33,49 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"claude-desktop": {
|
"caelestia-cli": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"caelestia-shell": [
|
||||||
|
"caelestia-shell"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"caelestia-shell",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764098187,
|
"lastModified": 1766195958,
|
||||||
"narHash": "sha256-H6JjWXhKqxZ8QLMoqndZx9e5x0Sv5AiipSmqvIxIbgo=",
|
"narHash": "sha256-YGawjW7RDzzOEiovrRGyRoXfjISbgLz4BVN9ZMb8LEc=",
|
||||||
"owner": "k3d3",
|
"owner": "caelestia-dots",
|
||||||
"repo": "claude-desktop-linux-flake",
|
"repo": "cli",
|
||||||
"rev": "b2b040cb68231d2118906507d9cc8fd181ca6308",
|
"rev": "8c83ae1e6a60de7d496d346bf3623f789a9f53e3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "k3d3",
|
"owner": "caelestia-dots",
|
||||||
"repo": "claude-desktop-linux-flake",
|
"repo": "cli",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"caelestia-shell": {
|
||||||
|
"inputs": {
|
||||||
|
"caelestia-cli": "caelestia-cli",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"quickshell": "quickshell"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1766280311,
|
||||||
|
"narHash": "sha256-Ty4GT6EaQFaL9E/dKcJB1Q30ByGkxXV6U1eu8+PS5Dc=",
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "shell",
|
||||||
|
"rev": "66e509ae488b2c0468f2c803fd34c2625ca725dc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "caelestia-dots",
|
||||||
|
"repo": "shell",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -134,24 +159,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git-hooks": {
|
"git-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
@@ -314,7 +321,7 @@
|
|||||||
},
|
},
|
||||||
"pumo-system-info": {
|
"pumo-system-info": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
@@ -337,6 +344,7 @@
|
|||||||
"quickshell": {
|
"quickshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"caelestia-shell",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -347,22 +355,21 @@
|
|||||||
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
|
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
|
||||||
"revCount": 713,
|
"revCount": 713,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"claude-desktop": "claude-desktop",
|
"caelestia-shell": "caelestia-shell",
|
||||||
"devenv": "devenv",
|
"devenv": "devenv",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"pumo-system-info": "pumo-system-info",
|
"pumo-system-info": "pumo-system-info",
|
||||||
"quickshell": "quickshell",
|
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"srvos": "srvos",
|
"srvos": "srvos",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
@@ -442,21 +449,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|||||||
14
flake.nix
14
flake.nix
@@ -24,8 +24,8 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
quickshell = {
|
caelestia-shell = {
|
||||||
url = "git+https://git.outfoxxed.me/quickshell/quickshell";
|
url = "github:caelestia-dots/shell";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -100,11 +100,17 @@
|
|||||||
};
|
};
|
||||||
"phundrak@gampo" = home-manager.lib.homeManagerConfiguration {
|
"phundrak@gampo" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs pkgs;
|
inherit extraSpecialArgs pkgs;
|
||||||
modules = withUserModules ./users/phundrak/host/gampo.nix;
|
modules = withUserModules [
|
||||||
|
inputs.caelestia-shell.homeManagerModules.default
|
||||||
|
./users/phundrak/host/marpa.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
"phundrak@marpa" = home-manager.lib.homeManagerConfiguration {
|
"phundrak@marpa" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs pkgs;
|
inherit extraSpecialArgs pkgs;
|
||||||
modules = withUserModules ./users/phundrak/host/marpa.nix;
|
modules = withUserModules [
|
||||||
|
inputs.caelestia-shell.homeManagerModules.default
|
||||||
|
./users/phundrak/host/marpa.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
"phundrak@NaroMk3" = home-manager.lib.homeManagerConfiguration {
|
"phundrak@NaroMk3" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs pkgs;
|
inherit extraSpecialArgs pkgs;
|
||||||
|
|||||||
72
users/modules/desktop/caelestia.nix
Normal file
72
users/modules/desktop/caelestia.nix
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
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;
|
||||||
|
useFuzzy = {
|
||||||
|
apps = true;
|
||||||
|
schemes = true;
|
||||||
|
wallpapers = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
bar = {
|
||||||
|
status = {
|
||||||
|
showAudio = true;
|
||||||
|
showKbLayout = false;
|
||||||
|
};
|
||||||
|
tray.compact = true;
|
||||||
|
};
|
||||||
|
services.gpuType = "amd";
|
||||||
|
session.commands = {
|
||||||
|
logout = ["uwsm" "stop"];
|
||||||
|
shutdown = ["systemctl" "poweroff"];
|
||||||
|
hibernate = ["systemctl" "hibernate"];
|
||||||
|
reboot = ["systemctl" "reboot"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
cli.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@ with lib; let
|
|||||||
cfg = config.home.desktop;
|
cfg = config.home.desktop;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
./caelestia.nix
|
||||||
./eww.nix
|
./eww.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.home.desktop.hyprland;
|
cfg = config.home.desktop.hyprland;
|
||||||
laptops = ["gampo"];
|
laptops = ["gampo"];
|
||||||
|
caelestiaEnabled = config.home.desktop.caelestia.enable;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./swaync.nix
|
./swaync.nix
|
||||||
@@ -34,16 +35,16 @@ in {
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.desktop = {
|
home.desktop = {
|
||||||
hyprpaper.enable = true;
|
hyprpaper.enable = mkDefault (! caelestiaEnabled);
|
||||||
rofi.enable = mkDefault true;
|
rofi.enable = mkDefault true;
|
||||||
swaync.enable = mkDefault true;
|
swaync.enable = mkDefault (! caelestiaEnabled);
|
||||||
waybar = {
|
waybar = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault (! caelestiaEnabled);
|
||||||
battery = mkDefault (builtins.elem cfg.host laptops);
|
battery = mkDefault (builtins.elem cfg.host laptops);
|
||||||
};
|
};
|
||||||
wlsunset.enable = mkDefault true;
|
wlsunset.enable = mkDefault true;
|
||||||
};
|
};
|
||||||
services.blueman-applet.enable = true;
|
services.blueman-applet.enable = ! caelestiaEnabled;
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
@@ -103,12 +104,13 @@ in {
|
|||||||
pseudotile = true;
|
pseudotile = true;
|
||||||
preserve_split = true;
|
preserve_split = true;
|
||||||
};
|
};
|
||||||
exec-once = [
|
exec-once =
|
||||||
"pactl load-module module-switch-on-connect"
|
[
|
||||||
"${pkgs.mpc}/bin/mpc stop"
|
"pactl load-module module-switch-on-connect"
|
||||||
"${pkgs.networkmanagerapplet}/bin/nm-applet"
|
"${pkgs.mpc}/bin/mpc stop"
|
||||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||||
];
|
]
|
||||||
|
++ lib.lists.optional (! caelestiaEnabled) "${pkgs.networkmanagerapplet}/bin/nm-applet";
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
$left = c
|
$left = c
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
LSP_USE_PLISTS = "true";
|
LSP_USE_PLISTS = "true";
|
||||||
OPENAI_API_URL = "http://localhost:1234/";
|
OPENAI_API_URL = "http://localhost:1234/";
|
||||||
};
|
};
|
||||||
desktop.waybar.style = ./config/waybar/style.css;
|
desktop.caelestia.enable = true;
|
||||||
dev = {
|
dev = {
|
||||||
ai.claude.enable = true;
|
ai.claude.enable = true;
|
||||||
editors.emacs.package = emacsPackage;
|
editors.emacs.package = emacsPackage;
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ in {
|
|||||||
watchmate
|
watchmate
|
||||||
inputs.zen-browser.packages.${system}.default
|
inputs.zen-browser.packages.${system}.default
|
||||||
inputs.pumo-system-info.packages.${system}.default
|
inputs.pumo-system-info.packages.${system}.default
|
||||||
inputs.quickshell.packages.${system}.default
|
|
||||||
|
|
||||||
# Games
|
# Games
|
||||||
atlauncher
|
atlauncher
|
||||||
|
|||||||
Reference in New Issue
Block a user