diff --git a/tongfang/nixos/packages.nix b/tongfang/nixos/packages.nix index 96aae2d..dc6f639 100644 --- a/tongfang/nixos/packages.nix +++ b/tongfang/nixos/packages.nix @@ -24,5 +24,6 @@ in '') dig caligula + spotify ]; } diff --git a/tongfang/nixos/users.nix b/tongfang/nixos/users.nix index fc1f4a3..63b60c9 100644 --- a/tongfang/nixos/users.nix +++ b/tongfang/nixos/users.nix @@ -4,7 +4,7 @@ users.users.bart = { isNormalUser = true; description = "Bart van der Braak"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; packages = with pkgs; [ vscodium thunderbird @@ -17,16 +17,19 @@ opentofu python3 gnumake - spotify _1password-gui - nodejs_22 - corepack_22 + # nodejs_22 + # corepack_22 azure-cli sops blender + nixfmt-rfc-style ]; }; + # Enable discovery of Google Cast and Spotify Connect devices + networking.firewall.allowedUDPPorts = [ 5353 ]; + nixpkgs.config.permittedInsecurePackages = [ # Workaround for electron dependency in Logseq "electron-27.3.11" @@ -44,4 +47,11 @@ # GPG agent configuration programs.gnupg.agent.enable = true; programs.gnupg.dirmngr.enable = true; + + # Add Docker support + virtualisation.docker.enable = true; + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; }