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

@@ -42,11 +42,14 @@
inputs@{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
username = "pinj"; # Single source of truth for username
in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
specialArgs = {
inherit inputs username;
};
modules = [
./configuration.nix
{ nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ]; }