tidying services
This commit is contained in:
parent
c04d80a8ca
commit
f57ebd1fa7
3 changed files with 0 additions and 2 deletions
55
home/common/systemd-services/sync-hecate.nix
Normal file
55
home/common/systemd-services/sync-hecate.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
## Declarative sync directory creation
|
||||
systemd.tmpfiles.settings = {
|
||||
"hecate" = {
|
||||
"/home/serenity/sync/backups/hecate" = {
|
||||
d = {
|
||||
group = "users";
|
||||
mode = "0777";
|
||||
user = "serenity";
|
||||
};
|
||||
};
|
||||
};
|
||||
"hecate-backups" = {
|
||||
"/home/serenity/sync/backups/hecate/backups" = {
|
||||
d = {
|
||||
group = "users";
|
||||
mode = "0777";
|
||||
user = "serenity";
|
||||
};
|
||||
};
|
||||
};
|
||||
"hecate-pictures" = {
|
||||
"/home/serenity/sync/backups/hecate/pictures" = {
|
||||
d = {
|
||||
group = "users";
|
||||
mode = "0777";
|
||||
user = "serenity";
|
||||
};
|
||||
};
|
||||
};
|
||||
"hecate-misc" = {
|
||||
"/home/serenity/sync/backups/hecate/misc" = {
|
||||
d = {
|
||||
group = "users";
|
||||
mode = "0777";
|
||||
user = "serenity";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue