Files
nixos-config/hosts/laptop/configuration.nix
T
kiskaadee 2fd84f3705 feat(system): integrate dank-greeter with Niri compositor for login screen
- Add `dank-greeter` flake input and import its NixOS module across desktop and laptop hosts.
- Configure `programs.dms-greeter` in `modules/system/graphical.nix` using the `niri` compositor and user config path.
- Remove legacy `tuigreet` session configuration from `modules/system/base.nix`.
- Update desktop server specialisation to disable `dms-greeter` during headless mode.

This commit replaces Ly greeter with the Dank Material graphical login screen, leveraging Niri and unified dynamic theming across the entire workstation.
2026-08-21 07:36:19 -05:00

58 lines
1.7 KiB
Nix

# 💻 Laptop Machine Configuration
# This file defines host-specific system configurations for the Laptop environment.
# Sharing 100% of base shell, neovim, apps, and terminal settings with desktop,
# but swapping the graphical compositor stack to Niri.
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules/system/graphical.nix # System-wide graphical stack settings (DMS daemon + greeter)
../../modules/system/base.nix # General hardware-agnostic OS settings
];
# 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 = "laptop";
# 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 (Niri window manager for laptop)
programs.niri.enable = true;
# Rebuild/State version. Do not modify.
system.stateVersion = "26.05";
}