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:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user