Files
nixos-config/hosts/desktop/configuration.nix
T
kiskaadee 6127ab3720 feat(infra): integrate Traefik deployment service and environment
secrets

- Create `hosts/traefik-deployments.nix`: Add a declarative module to
  generate a unified environment file for homelab services.
- Update `secrets.yml`: Include credentials for Turso, MongoDB,
  PostgreSQL, and Ollama local services
- Register secrets with `sops-nix` to handle dynamic decryption at boot.
- Add `app-ctl`  alias: Map the local deployment controller script to
  the shell environment.
2026-06-26 09:41:14 -05:00

60 lines
1.8 KiB
Nix

# 🖥️ Desktop Machine Configuration
# This file defines host-specific system configurations for the Desktop environment.
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix # Desktop-specific disk and CPU configuration
../../modules/system/graphical.nix # System-wide graphical stack settings (DMS daemon)
../../modules/system/base.nix # General hardware-agnostic OS settings
./dynu.nix # Dynu DDNS update service
./traefik-deployments.nix # Traefik deployments secrets module
];
# Enable experimental Nix features (required for Flakes and newer command line tools)
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# System-wide fonts installed for general window manager / applications
fonts.packages = with pkgs; [
inter
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.roboto-mono
];
# Configure default fonts for system-wide alias fallbacks
fonts.fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "Fira Code" ];
sansSerif = [ "Inter" ];
};
};
# EFI bootloader configuration
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Network identification
networking.hostName = "desktop";
# Define the main user profile
users.users.kiskaadee = {
isNormalUser = true;
extraGroups = [
"wheel" # Enable sudo access for administrative tasks
"docker" # Allows running docker commands without sudo
"networkmanager" # Allows modifying network configurations
];
};
# Host-specific graphical compositor (Hyprland window manager for desktop)
programs = {
hyprland.enable = true;
};
# Rebuild/State version. Do not modify.
system.stateVersion = "26.05";
}