users: gate bazaar to GUI hosts only

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 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-29 11:57:42 +01:00
parent 057d24517f
commit 47a72a0a81

View file

@ -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