feat: enable docker
This commit is contained in:
parent
d1f4ec51f0
commit
74d6bcf111
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue