From 701ec656bb6a8300d2c28bf63a0df30c89359236 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 6 Aug 2025 00:01:46 +0200 Subject: Enable Docker (+ utilities) Signed-off-by: Mel --- modules/common.nix | 8 ++++++-- modules/user.nix | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/common.nix b/modules/common.nix index d68dc64..2a92122 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -29,7 +29,11 @@ in ]; services.envfs.enable = true; - virtualisation.libvirtd.enable = true; + + virtualisation = { + libvirtd.enable = true; + docker.enable = true; + }; # fish enables this by default, # it makes every nixos rebuild very slow. @@ -102,7 +106,7 @@ in # pick out x86-only packages, so it is not as opaque as it currently is. # (who knows if muse-sounds-manager is actually installed, for example?) environment.systemPackages = (with pkgs; filterUnsupportedPackages [ - file unzip jq dig htop wget screen + file unzip jq dig htop wget screen dive gnupg pinentry-gnome3 age agenix minisign openssl cryptsetup pamtester bitwarden-desktop bitwarden-cli inetutils pciutils usbutils lshw lsof inxi iw pmutils acpi acpid diff --git a/modules/user.nix b/modules/user.nix index 5fd5dfa..d4e9086 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -10,7 +10,7 @@ isNormalUser = true; description = "Mel"; shell = pkgs.fish; - extraGroups = [ "wheel" "dialout" "kvm" "networkmanager" "adbusers" ]; + extraGroups = [ "wheel" "dialout" "kvm" "networkmanager" "adbusers" "docker" ]; hashedPasswordFile = config.age.secrets.password.path; # TODO: commented out pacckages are currently not available on ARM, and thus not on the -- cgit 1.4.1