From 9a2c59ef762bade49c0379ce5c86ad728b083b89 Mon Sep 17 00:00:00 2001 From: tux Date: Sat, 11 Jan 2025 04:34:44 +0530 Subject: [PATCH] refactor: move common option --- hosts/alpha/default.nix | 2 -- hosts/arcturus/default.nix | 2 -- hosts/canopus/default.nix | 1 - hosts/capella/default.nix | 2 -- hosts/common/default.nix | 2 ++ hosts/homelab/default.nix | 1 - hosts/isoImage/default.nix | 1 - 7 files changed, 2 insertions(+), 9 deletions(-) diff --git a/hosts/alpha/default.nix b/hosts/alpha/default.nix index 07ceb27..c027bf0 100644 --- a/hosts/alpha/default.nix +++ b/hosts/alpha/default.nix @@ -45,8 +45,6 @@ }; security = { - sudo.wheelNeedsPassword = false; - acme = { acceptTerms = true; defaults.email = "${email}"; diff --git a/hosts/arcturus/default.nix b/hosts/arcturus/default.nix index 1e8429f..0a37968 100644 --- a/hosts/arcturus/default.nix +++ b/hosts/arcturus/default.nix @@ -130,8 +130,6 @@ }; security = { - sudo.wheelNeedsPassword = false; - acme = { acceptTerms = true; defaults.email = "${email}"; diff --git a/hosts/canopus/default.nix b/hosts/canopus/default.nix index 301c883..be7a1fd 100755 --- a/hosts/canopus/default.nix +++ b/hosts/canopus/default.nix @@ -130,7 +130,6 @@ }; security = { - sudo.wheelNeedsPassword = false; polkit.enable = true; rtkit.enable = true; }; diff --git a/hosts/capella/default.nix b/hosts/capella/default.nix index a9ceb19..c75740b 100644 --- a/hosts/capella/default.nix +++ b/hosts/capella/default.nix @@ -36,8 +36,6 @@ firewall.enable = false; }; - security.sudo.wheelNeedsPassword = false; - boot.loader.grub = { efiSupport = true; efiInstallAsRemovable = true; diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 4e34659..51466c2 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -86,6 +86,8 @@ in { }; }; + security.sudo.wheelNeedsPassword = false; + programs = { zsh.enable = true; nh = { diff --git a/hosts/homelab/default.nix b/hosts/homelab/default.nix index ad28bfa..dc3080d 100755 --- a/hosts/homelab/default.nix +++ b/hosts/homelab/default.nix @@ -89,7 +89,6 @@ }; security = { - sudo.wheelNeedsPassword = false; rtkit.enable = true; }; diff --git a/hosts/isoImage/default.nix b/hosts/isoImage/default.nix index 0bcfd17..6a78d2a 100644 --- a/hosts/isoImage/default.nix +++ b/hosts/isoImage/default.nix @@ -25,7 +25,6 @@ }; security = { - sudo.wheelNeedsPassword = false; rtkit.enable = true; };