a dotfile but it's really big
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

dev/docker: fix docker

karitham c19e7997 0fd58350

+10 -6
+8 -6
modules/dev/docker/default.nix
··· 1 - { lib, ... }: 1 + { lib, config, ... }: 2 2 { 3 - virtualisation.docker = { 4 - enable = lib.mkDefault true; 5 - enableOnBoot = false; 6 - daemon.settings = { 7 - shutdown-timeout = 2; 3 + config = lib.mkIf config.dev.docker.enable { 4 + virtualisation.docker = { 5 + enable = lib.mkDefault true; 6 + enableOnBoot = false; 7 + daemon.settings = { 8 + shutdown-timeout = 2; 9 + }; 8 10 }; 9 11 }; 10 12 }
+2
modules/dev/nixos.nix
··· 32 32 programs.nano.enable = mkDefault (!(cfg.enable || cfg.editor.enable)); 33 33 environment.sessionVariables.EDITOR = mkIf cfg.editor.enable "hx"; 34 34 }; 35 + 36 + imports = [ ./docker ]; 35 37 }