mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
feat: pin new base version for docker
This commit is contained in:
parent
3c8af1d119
commit
f177d6e7d4
1 changed files with 9 additions and 3 deletions
|
|
@ -1,11 +1,17 @@
|
|||
{ username, ... }:
|
||||
{
|
||||
username,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
package = lib.mkDefault pkgs.docker_29;
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
# autoPrune.enable = true;
|
||||
# enableNvidia = true;
|
||||
};
|
||||
|
||||
|
||||
users.users.${username} = {
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue