mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Optimized some specialArgs and module argument use
This commit is contained in:
parent
2d75530b6d
commit
18c8365f40
76 changed files with 282 additions and 284 deletions
|
@ -1,11 +1,11 @@
|
|||
{ config, username, pkgs, ... }:
|
||||
{ userSettings, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Doas instead of sudo
|
||||
security.doas.enable = true;
|
||||
security.sudo.enable = false;
|
||||
security.doas.extraRules = [{
|
||||
users = [ "${username}" ];
|
||||
users = [ "${userSettings.username}" ];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue