Replace the T1 stubs with the real modules, ported from 030e97e without
behaviour changes except the intended theme ones (DESIGN.md section 11).
- noctalia: NixOS half (module, package, recommendedServices, attaches the
home-manager half to the owner) and home-manager half (user service,
shell settings). The noctalia flake's modules list home-manager's and
nixpkgs' own `programs.noctalia` in `disabledModules`, so nothing is
declared twice. The `theme` block and `font_family` are gone: Stylix's
noctalia target writes the custom palette `stylix` and the shell font
(Monaspace Krypton, via the override in theme/stylix.nix).
- audio: PipeWire body unchanged.
- fonts: coverage fonts only; the theme fonts and fontconfig defaults come
from Stylix.
- xdg, apps: bodies unchanged.
The generated noctalia config.toml builds and passes
`noctalia config validate`.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
59 lines
1.7 KiB
Nix
59 lines
1.7 KiB
Nix
# XDG base dirs, the user folders and default applications.
|
|
# Documents, Downloads, Music, Pictures and Videos are separate subvolumes on
|
|
# the data SSD mounted into $HOME (modules/hosts/desktop/disks.nix); Desktop,
|
|
# Templates and Public are plain directories on the system disk. Home-manager's
|
|
# default folder names already match, so only the unwanted ones are changed.
|
|
let
|
|
firefox = "firefox.desktop";
|
|
fileManager = "Dolphin.desktop";
|
|
imageViewer = "org.gnome.Loupe.desktop";
|
|
mediaPlayer = "mpv.desktop";
|
|
pdfViewer = "org.pwmt.zathura.desktop";
|
|
archiveManager = "org.gnome.FileRoller.desktop";
|
|
in
|
|
{
|
|
flake.modules.homeManager.xdg = {
|
|
xdg = {
|
|
enable = true;
|
|
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
|
|
# No ~/Projects: code lives wherever the user clones it.
|
|
projects = null;
|
|
};
|
|
|
|
mimeApps = {
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
|
"text/html" = firefox;
|
|
"x-scheme-handler/http" = firefox;
|
|
"x-scheme-handler/https" = firefox;
|
|
"x-scheme-handler/about" = firefox;
|
|
"x-scheme-handler/unknown" = firefox;
|
|
|
|
"inode/directory" = fileManager;
|
|
|
|
"image/*" = imageViewer;
|
|
"video/*" = mediaPlayer;
|
|
"audio/*" = mediaPlayer;
|
|
"application/pdf" = pdfViewer;
|
|
|
|
"application/zip" = archiveManager;
|
|
"application/x-tar" = archiveManager;
|
|
"application/x-7z-compressed" = archiveManager;
|
|
"application/vnd.rar" = archiveManager;
|
|
};
|
|
};
|
|
|
|
# "Open in terminal" actions (desktop entries with Terminal=true) use WezTerm.
|
|
terminal-exec = {
|
|
enable = true;
|
|
settings.default = [ "org.wezfurlong.wezterm.desktop" ];
|
|
};
|
|
};
|
|
};
|
|
}
|