feat: replace waybar/walker/swaylock/swaybg with noctalia shell

This commit is contained in:
2026-08-14 00:17:36 +07:00
parent 96369087b5
commit 68f37753f5
14 changed files with 342 additions and 775 deletions
+78
View File
@@ -0,0 +1,78 @@
{ config, inputs, pkgs, ... }:
let
wallpaperDir = "${config.home.homeDirectory}/.config/wallpapers";
defaultWallpaper = "${wallpaperDir}/even-in-arcadia.png";
noctaliaIpc = pkgs.writeShellScriptBin "noctalia-ipc" ''
set -eu
exec noctalia msg "$@"
'';
in
{
imports = [ inputs.noctalia.homeModules.default ];
home.packages = [ noctaliaIpc ];
# Wallpapers tracked in the repo; linked to ~/.config/wallpapers for noctalia
xdg.configFile."wallpapers".source = ./wallpapers;
programs.noctalia = {
enable = true;
settings = {
bar.default = {
start = [ "launcher" "clipboard" "cpu" "network" "ram" ];
center = [ "clock" ];
end = [ "notifications" "volume" "brightness" "battery" "control-center" "session" ];
thickness = 40;
padding = 10;
radius = 0;
margin_edge = 0;
margin_ends = 0;
widget_spacing = 8;
};
idle = {
behavior_order = [ "lock" "screen-off" ];
behavior = {
lock = {
action = "lock";
enabled = true;
timeout = 600;
};
screen-off = {
action = "screen_off";
enabled = true;
timeout = 660;
};
};
};
lockscreen.wallpaper = defaultWallpaper;
nightlight.enabled = true;
osd.position = "top_right";
shell = {
font_family = "JetBrainsMono Nerd Font";
polkit_agent = true;
corner_radius_scale = 0.0;
animation.speed = 1.5;
panel = {
clipboard_placement = "attached";
launcher_placement = "attached";
launcher_session_search = true;
};
shadow.alpha = 0.5;
};
theme.builtin = "Kanagawa";
wallpaper = {
enabled = true;
directory = wallpaperDir;
default.path = defaultWallpaper;
};
};
};
}