{ 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; }; }; }; }