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
|
||||
langs
|
||||
emacs
|
||||
taskwarrior
|
||||
taskwarrior-web
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -83,15 +81,7 @@
|
|||
path = "${config.sops.defaultSymlinkPath}/borg_url";
|
||||
};
|
||||
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 = {
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
shell-conf # shell, shell utils, cli tools, libs, tui's
|
||||
git-conf
|
||||
beets
|
||||
taskwarrior
|
||||
# taskwarrior-web
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -35,19 +33,7 @@
|
|||
|
||||
sops = {
|
||||
age.keyFile = "/home/media/.config/sops/age/keys.txt"; # must have no password!
|
||||
|
||||
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 = {
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
curl
|
||||
cifs-utils
|
||||
caddy
|
||||
# taskchampion-sync-server
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
};
|
||||
Service = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".local/bin/tww" = {
|
||||
source = ./tww;
|
||||
};
|
||||
# home.file.".local/bin/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