NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
370 B

  1. { lib, ... }:
  2. with lib;
  3. {
  4. virtualisation.docker = {
  5. enable = true;
  6. daemon.settings = {
  7. group = mkForce "users";
  8. };
  9. autoPrune = {
  10. enable = true;
  11. dates = "weekly";
  12. };
  13. };
  14. hardware.nvidia-container-toolkit.enable = true;
  15. systemd.sockets."docker" = {
  16. socketConfig = {
  17. SocketGroup = mkForce "users";
  18. };
  19. };
  20. }