enable docker for nas
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
|
||||
./users/shatteredmint.nix
|
||||
./software/samba.nix
|
||||
./software/docker.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
5
software/docker.nix
Normal file
5
software/docker.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{config, pkgs, ...}@input: {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user