updated flake
This commit is contained in:
parent
3715367605
commit
993d1ee521
1 changed files with 9 additions and 7 deletions
16
flake.nix
16
flake.nix
|
|
@ -8,13 +8,12 @@
|
|||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
src = fetchTarball {
|
||||
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz";
|
||||
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
|
||||
};
|
||||
in
|
||||
}:
|
||||
{
|
||||
src = fetchTarball {
|
||||
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz";
|
||||
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
|
||||
};
|
||||
packages.x86_64-linux.sTodo = with nixpkgs.legacyPackages.x86_64-linux;
|
||||
stdenv.mkDerivation {
|
||||
pname = "sTodo";
|
||||
|
|
@ -62,7 +61,10 @@
|
|||
# Systemd Service
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.etc."sTodo" = {
|
||||
source = "${src}/static";
|
||||
source = fetchTarball {
|
||||
url = "https://git.stuce.ch/stuce/sTodo/releases/download/Release1/release1.tar.gz";
|
||||
sha256 = "10jyldwmcs5zyz1k8lp3jscn7nhlvn56g0709l5jp91qimw7xiqz";
|
||||
};
|
||||
};
|
||||
systemd.services.sTodo = {
|
||||
description = "Launch a sTodo app to have a online todolist";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue