AutoUpdateSigned : Remove default true.

This commit is contained in:
Dmitry Voronin 2024-08-24 19:55:55 +03:00
parent 8189be6cc3
commit 499ce8186d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
10 changed files with 19 additions and 20 deletions

View file

@ -6,7 +6,7 @@ in {
enable = mkEnableOption "Containers!!"; enable = mkEnableOption "Containers!!";
autoStart = mkOption { autoStart = mkOption {
default = true; default = false;
type = types.bool; type = types.bool;
}; };

View file

@ -7,6 +7,7 @@
user.dasha.enable = true; user.dasha.enable = true;
module = { module = {
autoupdate.enable = true;
amd.gpu.enable = true; amd.gpu.enable = true;
builder.client.enable = true; builder.client.enable = true;
desktop.sway.enable = true; desktop.sway.enable = true;

View file

@ -7,6 +7,7 @@
user.voronind.enable = true; user.voronind.enable = true;
module = { module = {
autoupdate.enable = true;
builder.client.enable = true; builder.client.enable = true;
desktop.sway.enable = true; desktop.sway.enable = true;
ollama.enable = true; ollama.enable = true;

View file

@ -12,7 +12,6 @@
user.voronind.enable = true; user.voronind.enable = true;
module = { module = {
autoupdate.enable = false;
builder.server.enable = true; builder.server.enable = true;
desktop.sway.enable = true; desktop.sway.enable = true;
amd = { amd = {

View file

@ -10,6 +10,7 @@
}; };
module = { module = {
autoupdate.enable = true;
builder.client.enable = true; builder.client.enable = true;
desktop.sway.enable = true; desktop.sway.enable = true;
print.enable = true; print.enable = true;

View file

@ -2,20 +2,16 @@
imports = [ imports = [
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.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;
} }

View file

@ -10,6 +10,7 @@
user.voronind.enable = true; user.voronind.enable = true;
module = { module = {
autoupdate.enable = true;
builder.client.enable = true; builder.client.enable = true;
desktop.sway.enable = true; desktop.sway.enable = true;
intel.cpu.enable = true; intel.cpu.enable = true;

View file

@ -7,7 +7,7 @@
in { in {
options = { options = {
module.autoupdate = { module.autoupdate = {
enable = mkEnableOption "System auto-updates." // { default = true; }; enable = mkEnableOption "System auto-updates.";
}; };
}; };

View file

@ -9,7 +9,7 @@ in {
type = types.bool; type = types.bool;
}; };
autostart = mkOption { autostart = mkOption {
default = true; default = false;
type = types.bool; type = types.bool;
}; };
}; };

View file

@ -4,7 +4,7 @@ in {
options = { options = {
module.kernel = { module.kernel = {
latest = mkOption { latest = mkOption {
default = true; default = false;
type = types.bool; type = types.bool;
}; };
}; };