enable docker for nas

This commit is contained in:
2026-03-27 12:55:07 +01:00
parent 2644e7f843
commit a6a3b32765
3 changed files with 7 additions and 1 deletions

View File

@@ -68,6 +68,7 @@
./users/shatteredmint.nix
./software/samba.nix
./software/docker.nix
];
};
};

5
software/docker.nix Normal file
View File

@@ -0,0 +1,5 @@
{config, pkgs, ...}@input: {
virtualisation.docker = {
enable = true;
};
}

View File

@@ -6,7 +6,7 @@
users.users.shatteredmint = {
isNormalUser = true;
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" "docker" ];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"