general improvements

1. Security: Navidrome no longer exposed to network (localhost only)
2. Maintainability: Single username definition in flake.nix:45
3. Organization: Kernel params now in configuration.nix, session vars in
desktop.nix
4. Automation: Flathub repository added automatically on activation
5. Cleanup: Removed duplicate programs.dconf.enable
This commit is contained in:
Melvin Ragusa
2026-02-02 23:39:09 +01:00
parent bf2933d4d6
commit 1a7e86e99e
11 changed files with 43 additions and 43 deletions

View File

@@ -4,6 +4,7 @@
config,
pkgs,
lib,
username,
...
}:
@@ -39,13 +40,9 @@
hardware.amdgpu.overdrive.enable = true;
# Add user to corectrl group for full access without password
users.users.pinj.extraGroups = [ "corectrl" ];
users.users.${username}.extraGroups = [ "corectrl" ];
# Kernel parameters for AMD GPU
boot.kernelParams = [
# Enable all power management features
"amdgpu.ppfeaturemask=0xffffffff"
];
# NOTE: Kernel params (amdgpu.ppfeaturemask) are in configuration.nix
# GPU monitoring tools
environment.systemPackages = with pkgs; [