- 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`.
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
# 🔋 Machine Services, Hardware & Peripherals
|
|
# Manages audio (PipeWire), power daemons, Bluetooth, printing, scanning, and container virtualization.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
# Sound daemon configuration (PipeWire backend with PulseAudio emulation)
|
|
services.pipewire = {
|
|
enable = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
# 🔋 Laptop Power & Battery Management
|
|
services.power-profiles-daemon.enable = true;
|
|
services.upower.enable = true;
|
|
|
|
# Backlight brightness control utility
|
|
environment.systemPackages = with pkgs; [
|
|
brightnessctl
|
|
];
|
|
|
|
# 📶 Bluetooth Configuration
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
services.blueman.enable = true;
|
|
|
|
# 🖨️ Printing & Scanning (Epson drivers & Avahi network discovery)
|
|
services.printing = {
|
|
enable = true;
|
|
drivers = with pkgs; [
|
|
epson-escpr
|
|
epson-escpr2
|
|
gutenprint
|
|
gutenprintBin
|
|
];
|
|
};
|
|
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
hardware.sane = {
|
|
enable = true;
|
|
extraBackends = [ pkgs.epsonscan2 ];
|
|
};
|
|
|
|
# 🐳 Virtualisation / Docker container daemon
|
|
virtualisation.docker.enable = true;
|
|
}
|