updated flake
This commit is contained in:
parent
ebb3d06881
commit
b8cebf3584
1 changed files with 8 additions and 6 deletions
14
flake.nix
14
flake.nix
|
|
@ -1,3 +1,9 @@
|
|||
let
|
||||
tarball = fetchTarball {
|
||||
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz";
|
||||
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
|
||||
};
|
||||
in
|
||||
{
|
||||
description = "A flake to install sTodo";
|
||||
|
||||
|
|
@ -60,10 +66,8 @@
|
|||
# Systemd Service
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.etc."sTodo" = {
|
||||
source = "${fetchTarball {
|
||||
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz";
|
||||
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
|
||||
}}/source";
|
||||
source = "${tarball}/config";
|
||||
};
|
||||
};
|
||||
# environment.etc."sTodo/client_session_key.aes".text = "dasdhadhkjashdajhdkjahdakjsh";
|
||||
systemd.services.sTodo = {
|
||||
|
|
@ -84,5 +88,3 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue