dev/docker: fix docker

karitham.dev c19e7997 0fd58350

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