summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-08-06 00:01:46 +0200
committerMel <mel@rnrd.eu>2025-08-06 00:01:46 +0200
commit701ec656bb6a8300d2c28bf63a0df30c89359236 (patch)
treec285ed9591626102fc9d385247a7b93f0f3d47b1
parent8402088a2722594c7bacc076e95f8d258eb020ef (diff)
downloadminerals-701ec656bb6a8300d2c28bf63a0df30c89359236.tar.zst
minerals-701ec656bb6a8300d2c28bf63a0df30c89359236.zip
Enable Docker (+ utilities)
Signed-off-by: Mel <mel@rnrd.eu>
-rw-r--r--modules/common.nix8
-rw-r--r--modules/user.nix2
2 files changed, 7 insertions, 3 deletions
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