refactor(modules): split monolithic system/desktop config
This commit is contained in:
parent
c299acb87d
commit
febdf2702c
13 changed files with 249 additions and 209 deletions
18
modules/system/security.nix
Normal file
18
modules/system/security.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
security.sudo = {
|
||||
enable = lib.mkDefault true;
|
||||
wheelNeedsPassword = lib.mkForce false;
|
||||
};
|
||||
|
||||
users.users.root = lib.mkDefault {
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
hashedPassword = lib.mkDefault "!";
|
||||
initialHashedPassword = lib.mkDefault "!";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue