updated tarball

This commit is contained in:
stuce-bot 2025-06-25 14:08:37 +02:00
parent ce2dd6c750
commit b601bdd796
2 changed files with 9 additions and 5 deletions

View file

@ -10,7 +10,7 @@
nixpkgs, nixpkgs,
}: let }: let
tarball = fetchTarball { tarball = fetchTarball {
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz"; url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release2/release2.tar.gz";
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz"; sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
}; };
in { in {
@ -68,10 +68,10 @@
environment.systemPackages = [pkgs.openssl]; environment.systemPackages = [pkgs.openssl];
users.groups."sTodo".name = "sTodo"; users.groups."sTodo".name = "sTodo";
users.users."sTodo" = { users.users."sTodo" = {
name = "sTodo"; name = "sTodo";
isSystemUser = true; isSystemUser = true;
group = "sTodo"; group = "sTodo";
}; };
systemd.services.sTodo.preStart = '' systemd.services.sTodo.preStart = ''
[ -f ${sessionKey} ] || { [ -f ${sessionKey} ] || {
"${pkgs.openssl}/bin/openssl" rand 256 > ${sessionKey} "${pkgs.openssl}/bin/openssl" rand 256 > ${sessionKey}

View file

@ -20,6 +20,10 @@
snapshot: snapshot:
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
nix:
enable: true
pure: false
# User packages to be built. # User packages to be built.
# Various formats can be used as shown in the example below. # Various formats can be used as shown in the example below.
# #