Files
nixos-config/system/desktop.nix
T
kiskaadee 7c5e14c905 refactor: decouple sops-nix from workstation, update documentation, and clean up scripts
- Remove `sops-nix` input and integration modules from `flake.nix` and `flake.lock`.
- Transition secrets management documentation (`docs/secrets-management.md`, `docs/package-and-secrets.md`) to reflect the workstation's role as an operator management station targeting the decoupled Core repository.
- Remove obsolete `$HOME/Core/scripts` from user `sessionPath` in `home/default.nix` and `home/shell.nix`.
- Clean up Hyprland code paths in the Niri-native `record.sh` utility.
- Refine DMS options in `system/desktop.nix`.
2026-09-13 01:17:15 -05:00

73 lines
1.7 KiB
Nix

# 🎨 System Desktop Environment & Graphical Stack
# Niri window manager, DankMaterialShell (DMS), greetd login, fonts, and Wayland session flags.
{ pkgs, inputs, ... }:
{
# Graphical Compositor (Niri window manager)
programs.niri.enable = true;
# DankMaterialShell (DMS) graphical helper/shell daemon
programs.dms-shell = {
enable = true;
package = inputs.dms.packages.${pkgs.stdenv.hostPlatform.system}.default;
systemd.enable = true;
systemd.restartIfChanged = true;
enableDynamicTheming = true;
};
# DMS Greeter (dank-greeter + greetd)
programs.dms-greeter = {
enable = true;
compositor.name = "niri";
configHome = "/home/kiskaadee";
};
# DankCalendar Daemon & UI
programs.dank-calendar = {
enable = true;
systemd.enable = true;
systemd.target = "graphical-session.target";
};
# Greetd base service configuration
services.greetd = {
enable = true;
settings = {
default_session = {
user = "kiskaadee";
};
};
};
# Clean boot configuration for the greeter (suppresses tty1 diagnostic messages)
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
# System-wide typography & fonts
fonts.packages = with pkgs; [
inter
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.roboto-mono
];
fonts.fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "Fira Code" ];
sansSerif = [ "Inter" ];
};
};
# Wayland execution flags for Electron / Chromium applications
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}