enable docker for nas
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
|
|
||||||
./users/shatteredmint.nix
|
./users/shatteredmint.nix
|
||||||
./software/samba.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 = {
|
users.users.shatteredmint = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
|
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" "docker" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
||||||
|
|||||||
Reference in New Issue
Block a user