[arabasta] feat: Added docker

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
SindreKjelsrud 2025-10-01 12:00:09 +02:00
parent 812ca9ab0e
commit 184d7d6bbf

View file

@ -46,10 +46,19 @@
users.users.sid = { users.users.sid = {
isNormalUser = true; isNormalUser = true;
description = "sid"; description = "sid";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; []; 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
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
@ -104,3 +113,4 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.05"; # Did you read the comment?
} }