diff --git a/container/default.nix b/container/default.nix index 11cd766..e859cd6 100644 --- a/container/default.nix +++ b/container/default.nix @@ -6,7 +6,7 @@ in { enable = mkEnableOption "Containers!!"; autoStart = mkOption { - default = true; + default = false; type = types.bool; }; diff --git a/host/x86_64-linux/dasha/default.nix b/host/x86_64-linux/dasha/default.nix index 43a3685..cb8455e 100644 --- a/host/x86_64-linux/dasha/default.nix +++ b/host/x86_64-linux/dasha/default.nix @@ -7,6 +7,7 @@ user.dasha.enable = true; module = { + autoupdate.enable = true; amd.gpu.enable = true; builder.client.enable = true; desktop.sway.enable = true; diff --git a/host/x86_64-linux/desktop/default.nix b/host/x86_64-linux/desktop/default.nix index b7930dc..730dd14 100644 --- a/host/x86_64-linux/desktop/default.nix +++ b/host/x86_64-linux/desktop/default.nix @@ -7,6 +7,7 @@ user.voronind.enable = true; module = { + autoupdate.enable = true; builder.client.enable = true; desktop.sway.enable = true; ollama.enable = true; diff --git a/host/x86_64-linux/home/default.nix b/host/x86_64-linux/home/default.nix index 2490aec..02e981d 100644 --- a/host/x86_64-linux/home/default.nix +++ b/host/x86_64-linux/home/default.nix @@ -12,7 +12,6 @@ user.voronind.enable = true; module = { - autoupdate.enable = false; builder.server.enable = true; desktop.sway.enable = true; amd = { diff --git a/host/x86_64-linux/laptop/default.nix b/host/x86_64-linux/laptop/default.nix index dde72e1..f626f0a 100644 --- a/host/x86_64-linux/laptop/default.nix +++ b/host/x86_64-linux/laptop/default.nix @@ -10,6 +10,7 @@ }; module = { + autoupdate.enable = true; builder.client.enable = true; desktop.sway.enable = true; print.enable = true; diff --git a/host/x86_64-linux/live/default.nix b/host/x86_64-linux/live/default.nix index 2475aa9..5054731 100644 --- a/host/x86_64-linux/live/default.nix +++ b/host/x86_64-linux/live/default.nix @@ -2,20 +2,16 @@ imports = [ "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix" - - { networking.wireless.enable = lib.mkForce false; } - - # Override my settings to allow SSH logins using root password. - { services.openssh.settings.PasswordAuthentication = lib.mkForce true; } - { services.openssh.settings.PermitRootLogin = lib.mkForce "yes"; } - - # Disable auto-updates as they are not possible for Live ISO. - { module.autoupdate.enable = false; } - - # Base Live images also require the LTS kernel. - { module.kernel.latest = false; } - - # Root user setup. - { home.nixos.enable = true; } ]; + + networking.wireless.enable = lib.mkForce false; + + # Override my settings to allow SSH logins using root password. + services.openssh.settings = { + PasswordAuthentication = lib.mkForce true; + PermitRootLogin = lib.mkForce "yes"; + }; + + # Root user setup. + home.nixos.enable = true; } diff --git a/host/x86_64-linux/work/default.nix b/host/x86_64-linux/work/default.nix index ec893e4..9ce0b3e 100644 --- a/host/x86_64-linux/work/default.nix +++ b/host/x86_64-linux/work/default.nix @@ -10,6 +10,7 @@ user.voronind.enable = true; module = { + autoupdate.enable = true; builder.client.enable = true; desktop.sway.enable = true; intel.cpu.enable = true; diff --git a/module/AutoUpdateSigned.nix b/module/AutoUpdateSigned.nix index 7486454..8d4b8ea 100644 --- a/module/AutoUpdateSigned.nix +++ b/module/AutoUpdateSigned.nix @@ -7,7 +7,7 @@ in { options = { module.autoupdate = { - enable = mkEnableOption "System auto-updates." // { default = true; }; + enable = mkEnableOption "System auto-updates."; }; }; diff --git a/module/Docker.nix b/module/Docker.nix index a5d7818..b0447c2 100644 --- a/module/Docker.nix +++ b/module/Docker.nix @@ -9,7 +9,7 @@ in { type = types.bool; }; autostart = mkOption { - default = true; + default = false; type = types.bool; }; }; diff --git a/module/Kernel.nix b/module/Kernel.nix index 0b99b1f..54259d7 100644 --- a/module/Kernel.nix +++ b/module/Kernel.nix @@ -4,7 +4,7 @@ in { options = { module.kernel = { latest = mkOption { - default = true; + default = false; type = types.bool; }; };