mirror of
https://github.com/kmein/niveum
synced 2026-03-30 01:01:10 +02:00
Compare commits
3 Commits
0f612ba72b
...
8f895f01a7
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f895f01a7 | |||
| 765a99d89f | |||
| c9cd49c3ac |
@@ -10,7 +10,8 @@
|
|||||||
wants = ["network-online.target"];
|
wants = ["network-online.target"];
|
||||||
startAt = "weekly";
|
startAt = "weekly";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
user = "kfm";
|
User = config.users.users.me.name;
|
||||||
|
Group = config.users.users.me.group;
|
||||||
WorkingDirectory = "/home/kfm/cloud/nextcloud/Uni/Meta/Mensa";
|
WorkingDirectory = "/home/kfm/cloud/nextcloud/Uni/Meta/Mensa";
|
||||||
LoadCredential = [
|
LoadCredential = [
|
||||||
"password:${config.age.secrets.stw-berlin-card-code.path}"
|
"password:${config.age.secrets.stw-berlin-card-code.path}"
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
lib,
|
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
@@ -11,7 +10,7 @@ in {
|
|||||||
./matomo.nix
|
./matomo.nix
|
||||||
./radio.nix
|
./radio.nix
|
||||||
./panoptikon.nix
|
./panoptikon.nix
|
||||||
./ledger.nix
|
./hledger.nix
|
||||||
../../configs/monitoring.nix
|
../../configs/monitoring.nix
|
||||||
../../configs/tor.nix
|
../../configs/tor.nix
|
||||||
../../configs/save-space.nix
|
../../configs/save-space.nix
|
||||||
|
|||||||
@@ -25,13 +25,13 @@
|
|||||||
script = ''
|
script = ''
|
||||||
${pkgs.git}/bin/git config user.name "hledger-web"
|
${pkgs.git}/bin/git config user.name "hledger-web"
|
||||||
${pkgs.git}/bin/git config user.email "hledger-web@${config.networking.hostName}"
|
${pkgs.git}/bin/git config user.email "hledger-web@${config.networking.hostName}"
|
||||||
${pkgs.git}/bin/git commit -am $(date -Ih)
|
${pkgs.git}/bin/git commit -am $(date -Ih) || :
|
||||||
${pkgs.git}/bin/git pull --rebase
|
${pkgs.git}/bin/git pull --rebase
|
||||||
${pkgs.git}/bin/git push
|
${pkgs.git}/bin/git push
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "hledger";
|
User = "root";
|
||||||
Group = "hledger";
|
Group = "root";
|
||||||
WorkingDirectory = config.services.hledger-web.stateDir;
|
WorkingDirectory = config.services.hledger-web.stateDir;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user