diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-05 19:40:58 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-05 19:40:58 -0700 |
commit | 4c5a61dc9021ed5fca7ffaf5000abaf66c1b4ea8 (patch) | |
tree | 83dac98a2d72cf06a8e1b33de11b685c5bc791b0 | |
parent | refactor users to a module (diff) | |
download | world-4c5a61dc9021ed5fca7ffaf5000abaf66c1b4ea8.tar.gz |
refactor security to a module
-rw-r--r-- | hosts/common/system/default.nix | 2 | ||||
-rw-r--r-- | modules/system/default.nix | 2 | ||||
-rw-r--r-- | modules/system/security/default.nix (renamed from hosts/common/system/security.nix) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix index 291314b..9b2a7e4 100644 --- a/hosts/common/system/default.nix +++ b/hosts/common/system/default.nix @@ -1,5 +1,5 @@ { pkgs, ... }: { - imports = [ ./boot.nix ./hardware.nix ./network.nix ./security.nix ]; + imports = [ ./boot.nix ./hardware.nix ./network.nix ]; } diff --git a/modules/system/default.nix b/modules/system/default.nix index 3f7d3ec..d3eea02 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./console ./locale ./nix ./users ]; } +{ ... }: { imports = [ ./console ./locale ./nix ./users ./security ]; } diff --git a/hosts/common/system/security.nix b/modules/system/security/default.nix index b35e60e..9550e8d 100644 --- a/hosts/common/system/security.nix +++ b/modules/system/security/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ ... }: { security.sudo.wheelNeedsPassword = false; |