no deps
This commit is contained in:
13
mod.nix
13
mod.nix
@@ -48,11 +48,14 @@ in
|
||||
};
|
||||
config = {
|
||||
users.users = mkIf cfg.enable { ${cfg.user} = { }; };
|
||||
system.activationScripts.brownpaper.text = ''
|
||||
mkdir -p ${toString cfg.dataDir}
|
||||
chown ${toString cfg.user} -R ${toString cfg.dataDir}
|
||||
${optionalString (cfg.pgpKeys != [ ]) "${keyScript}"}
|
||||
'';
|
||||
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" ];
|
||||
|
Reference in New Issue
Block a user