feat: enable docker

This commit is contained in:
Laureηt 2023-03-14 14:10:09 +01:00
parent d1f4ec51f0
commit 74d6bcf111
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -124,7 +124,7 @@ in {
users.users.laurent = { users.users.laurent = {
isNormalUser = true; isNormalUser = true;
initialPassword = "laurent"; initialPassword = "laurent";
extraGroups = [ "wheel" "video" ]; extraGroups = [ "wheel" "video" "docker" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
home-manager.users.laurent = { home-manager.users.laurent = {
@ -621,6 +621,14 @@ in {
}; };
}; };
# enable docker
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
enableOnBoot = false;
autoPrune.enable = true;
};
# enable ssh agent # enable ssh agent
programs.ssh.startAgent = true; programs.ssh.startAgent = true;