no deps
This commit is contained in:
parent
c0cde009d9
commit
017149ea91
5
mod.nix
5
mod.nix
@ -48,11 +48,14 @@ in
|
||||
};
|
||||
config = {
|
||||
users.users = mkIf cfg.enable { ${cfg.user} = { }; };
|
||||
system.activationScripts.brownpaper.text = ''
|
||||
system.activationScripts.brownpaper = {
|
||||
text = ''
|
||||
mkdir -p ${toString cfg.dataDir}
|
||||
chown ${toString cfg.user} -R ${toString cfg.dataDir}
|
||||
${optionalString (cfg.pgpKeys != [ ]) "${keyScript}"}
|
||||
'';
|
||||
deps = [ ];
|
||||
};
|
||||
systemd.services.brownpaper = mkIf cfg.enable {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user