[arabasta] feat: Added docker
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
812ca9ab0e
commit
184d7d6bbf
1 changed files with 11 additions and 1 deletions
|
@ -46,10 +46,19 @@
|
|||
users.users.sid = {
|
||||
isNormalUser = true;
|
||||
description = "sid";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
# enable docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# use docker without Root access (Rootless docker)
|
||||
virtualisation.docker.rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
|
||||
# Home Manager
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
|
@ -104,3 +113,4 @@
|
|||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue