mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds docker like this since docker inside nix is horrible
This commit is contained in:
parent
f4fa947b6f
commit
d4f1ed6759
1 changed files with 12 additions and 0 deletions
12
modules/services/docker.nix
Normal file
12
modules/services/docker.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
|
# enableNvidia = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.liv = {
|
||||||
|
extraGroups = [ "docker" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue