Move Spotify to system and add rootless Docker

This commit is contained in:
Bart van der Braak 2024-10-28 11:54:52 +01:00
parent 3afbfbb489
commit c163126be6
2 changed files with 15 additions and 4 deletions

View file

@ -24,5 +24,6 @@ in
'')
dig
caligula
spotify
];
}

View file

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