Port the desktop aspects: Noctalia, audio, fonts, XDG, apps
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
This commit is contained in:
5 files changed
+179
-11
No files matched your search
@@ -1,4 +1,23 @@
|
||||
# STUB (T1): replaced in phase 2
|
||||
# PipeWire as the single audio server (ALSA, PulseAudio and JACK clients).
|
||||
{
|
||||
flake.modules.nixos.audio = { };
|
||||
flake.modules.nixos.audio = {
|
||||
services = {
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
# 32-bit ALSA clients: Wine/Proton games.
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
pulseaudio.enable = false;
|
||||
};
|
||||
|
||||
# Lets PipeWire take realtime scheduling for low-latency audio.
|
||||
security.rtkit.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user