Files
nixos-config/hosts/desktop/configuration.nix
T
kiskaadee c7acc2b0a3 feat(network): implement smart ddns polling via dynu and ddclient
- Introduce `monitor.py` to validate public IPv4 addresses and maintain
  a local history log, bypassing strict API rate limits
- Configure `dynu-monitor.timer` to execute the polling script every 30
  minutes under a hardened systemd sandbox.
- Mount decrypted API credentials into `ddclient.service` via sops-nix
  `LoadCredential` directives
- Documented systemd architecture and Python logic in
  `docs/dynu-ip-monitor.md`.
2026-06-23 22:00:19 -05:00

59 lines
1.7 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
];
# 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";
}