From 47a72a0a81160a27173f02ab4f47f2f3e8fd6cbb Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 29 Apr 2026 11:57:42 +0100 Subject: [PATCH] users: gate bazaar to GUI hosts only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bazaar is a Flathub GUI app store — it has no business on the headless mediaserver, where it was also pulling flatpak in transitively and inflating local builds. Co-Authored-By: Claude Opus 4.7 --- settings/users.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings/users.nix b/settings/users.nix index d8a0413..98aa0e0 100644 --- a/settings/users.nix +++ b/settings/users.nix @@ -12,9 +12,9 @@ isNormalUser = true; description = "fred"; extraGroups = [ "networkmanager" "wheel" "docker" ]; - packages = with pkgs; [ - bazaar - ]; + packages = lib.optionals + (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) + (with pkgs; [ bazaar ]); openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOgQQ9aO8Ri5oL2c3QntSk05PkryfLNsJQqIcjfKFqL fredrik@nordhammer.it" # FredOS-Gaming "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILTLAr9hSWW5PerZJmDZwmB5sa0DBTe2mM4IwTtcCfX3 fredrik@nordhammer.it" # phone