Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
# Noctalia v5 shell (bar, launcher, notifications, lock screen, wallpaper).
|
|
# The module itself comes from the noctalia flake (home-manager sharedModules).
|
|
# Settings are validated at build time by `noctalia config validate`, so only
|
|
# keys from the upstream schema may appear here. Anything changed in the
|
|
# settings window at runtime is stored separately and overrides this file.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.home.noctalia;
|
|
in
|
|
{
|
|
options.my.home.noctalia.enable = lib.mkEnableOption "Noctalia shell";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.noctalia = {
|
|
enable = true;
|
|
|
|
# A user service instead of hl.exec_cmd, so it restarts on failure and
|
|
# follows graphical-session.target (managed by UWSM).
|
|
systemd.enable = true;
|
|
|
|
settings = {
|
|
theme = {
|
|
mode = "dark";
|
|
source = "builtin";
|
|
builtin = "Catppuccin";
|
|
};
|
|
|
|
shell = {
|
|
font_family = "Inter";
|
|
telemetry_enabled = false;
|
|
|
|
# No other polkit agent is started in the session.
|
|
polkit_agent = true;
|
|
|
|
# Apps started from the launcher get their own systemd scope, so
|
|
# restarting the shell service does not kill them.
|
|
launch_apps_as_systemd_services = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# Shell font.
|
|
home.packages = [ pkgs.inter ];
|
|
};
|
|
}
|