Remove sudo
This commit is contained in:
parent
ef572c20bc
commit
ad71bb0318
5 changed files with 27 additions and 6 deletions
|
@ -70,6 +70,14 @@ in
|
|||
'')
|
||||
];
|
||||
|
||||
security.doas.extraRules = [{
|
||||
users = [ "charlotte" ];
|
||||
noPass = true;
|
||||
cmd = "accentor-console";
|
||||
runAs = "accentor";
|
||||
setEnv = [ "RAILS_MASTER_KEY" ];
|
||||
}];
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
dataDir = "${config.chvp.dataPrefix}/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue