taskwarrior gone
This commit is contained in:
parent
e1b2ed15c7
commit
d618ecf02e
6 changed files with 5 additions and 65 deletions
|
@ -10,8 +10,6 @@
|
||||||
music
|
music
|
||||||
langs
|
langs
|
||||||
emacs
|
emacs
|
||||||
taskwarrior
|
|
||||||
taskwarrior-web
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
@ -83,15 +81,7 @@
|
||||||
path = "${config.sops.defaultSymlinkPath}/borg_url";
|
path = "${config.sops.defaultSymlinkPath}/borg_url";
|
||||||
};
|
};
|
||||||
icloud = {};
|
icloud = {};
|
||||||
taskchamp-id = {};
|
|
||||||
taskchamp-key = {};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
templates."taskchamp".content =
|
|
||||||
''
|
|
||||||
sync.server.client_id = ${config.sops.placeholder.taskchamp-id}
|
|
||||||
sync.encryption_secret = ${config.sops.placeholder.taskchamp-key}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
shell-conf # shell, shell utils, cli tools, libs, tui's
|
shell-conf # shell, shell utils, cli tools, libs, tui's
|
||||||
git-conf
|
git-conf
|
||||||
beets
|
beets
|
||||||
taskwarrior
|
|
||||||
# taskwarrior-web
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
@ -35,19 +33,7 @@
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/home/media/.config/sops/age/keys.txt"; # must have no password!
|
age.keyFile = "/home/media/.config/sops/age/keys.txt"; # must have no password!
|
||||||
|
|
||||||
defaultSopsFile = ../emenel/secrets.yaml;
|
defaultSopsFile = ../emenel/secrets.yaml;
|
||||||
|
|
||||||
secrets = {
|
|
||||||
taskchamp-id = {};
|
|
||||||
taskchamp-key = {};
|
|
||||||
};
|
|
||||||
|
|
||||||
templates."taskchamp".content =
|
|
||||||
''
|
|
||||||
sync.server.client_id = ${config.sops.placeholder.taskchamp-id}
|
|
||||||
sync.encryption_secret = ${config.sops.placeholder.taskchamp-key}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -81,7 +81,6 @@
|
||||||
curl
|
curl
|
||||||
cifs-utils
|
cifs-utils
|
||||||
caddy
|
caddy
|
||||||
# taskchampion-sync-server
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
|
|
|
@ -12,12 +12,13 @@
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "/home/emenel/.local/bin/tww/tw-start.sh";
|
ExecStart = "/run/current-system/sw/bin/bash /home/emenel/.local/bin/tww/tw-start.sh";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".local/bin/tww" = {
|
# home.file.".local/bin/tww" = {
|
||||||
source = ./tww;
|
# source = ./tww;
|
||||||
};
|
# recursive = true;
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
# make reverse proxy web server for taskwarrior web
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
{ stdenv, pkgs, fetchurl, lib, ... }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "taskwarrior-web";
|
|
||||||
version = "2025-04-01";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/tmahmood/taskwarrior-web/releases/download/2025-04-01/tw-web-2025-04-01.tar.gz";
|
|
||||||
sha256 = "sha256-1zEW9fEqZiQ1vWfB1rWSrJz7k+oaYZuHb9AA/9lpEZY=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.gnutar ];
|
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
mkdir tww
|
|
||||||
tar -zxvf $src -C tww
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -r tww/* $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "";
|
|
||||||
description = "";
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue