Clean up symlinks in state dir

This commit is contained in:
Sebastian 2023-12-23 15:34:08 +01:00
parent ef301777e8
commit 420ab88573
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,6 @@ in
users.users = mkIf (cfg.user == "satnogs-demo") {
satnogs-demo = {
home = cfg.stateDir;
useDefaultShell = true;
group = cfg.group;
isNormalUser = true;
};
@ -77,7 +76,9 @@ in
WorkingDirectory = cfg.stateDir;
};
script = ''
unlink ./satnogs-logo.png
ln -s ${cfg.package}/satnogs-logo.png ./
unlink ./Montserrat-Regular.otf
ln -s ${cfg.package}/Montserrat-Regular.otf ./
while true; do