summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-05-25 21:14:22 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-05-25 21:24:48 +0200
commit9ae4a910e482c05080f02acae31522ecbf263dda (patch)
treed0aed57bb7cea507ab7d9c5ce13cc5199bf3d2e8
parent78f5129aa69355c297d6444511974c855de0208a (diff)
nixos/timetagger: drop non-evaluating service files
The file was not included in the module list and also does not evaluate.
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md3
-rw-r--r--nixos/modules/services/web-apps/timetagger.nix80
2 files changed, 0 insertions, 83 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index d018e5eeaf76..8fb7ccda2a57 100644
--- a/nixos/doc/manual/release-notes/rl-2205.section.md
+++ b/nixos/doc/manual/release-notes/rl-2205.section.md
@@ -169,9 +169,6 @@ In addition to numerous new and upgraded packages, this release has the followin
- [nix-ld](https://github.com/Mic92/nix-ld), Run unpatched dynamic binaries on NixOS. Available as [programs.nix-ld](#opt-programs.nix-ld.enable).
-- [timetagger](https://timetagger.app), an open source time-tracker with an intuitive user experience and powerful reporting. Available as [services.timetagger](#opt-services.timetagger.enable).
-
-
- [rstudio-server](https://www.rstudio.com/products/rstudio/#rstudio-server), a browser-based version of the RStudio IDE for the R programming language. Available as [services.rstudio-server](#opt-services.rstudio-server.enable).
- [headscale](https://github.com/juanfont/headscale), an Open Source implementation of the [Tailscale](https://tailscale.io) Control Server. Available as [services.headscale](#opt-services.headscale.enable).
diff --git a/nixos/modules/services/web-apps/timetagger.nix b/nixos/modules/services/web-apps/timetagger.nix
deleted file mode 100644
index 373f4fcd52f8..000000000000
--- a/nixos/modules/services/web-apps/timetagger.nix
+++ /dev/null
@@ -1,80 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-let
- inherit (lib) mkEnableOption mkIf mkOption types literalExpression;
-
- cfg = config.services.timetagger;
-in {
-
- options = {
- services.timetagger = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Tag your time, get the insight
-
- <note><para>
- This app does not do authentication.
- You must setup authentication yourself or run it in an environment where
- only allowed users have access.
- </para></note>
- '';
- };
-
- bindAddr = mkOption {
- description = "Address to bind to.";
- type = types.str;
- default = "127.0.0.1";
- };
-
- port = mkOption {
- description = "Port to bind to.";
- type = types.port;
- default = 8080;
- };
-
- package = mkOption {
- description = ''
- Use own package for starting timetagger web application.
-
- The ${literalExpression ''pkgs.timetagger''} package only provides a
- "run.py" script for the actual package
- ${literalExpression ''pkgs.python3Packages.timetagger''}.
-
- If you want to provide a "run.py" script for starting timetagger
- yourself, you can do so with this option.
- If you do so, the 'bindAddr' and 'port' options are ignored.
- '';
-
- default = pkgs.timetagger.override { addr = cfg.bindAddr; port = cfg.port; };
- defaultText = literalExpression ''
- pkgs.timetagger.override {
- addr = ${cfg.bindAddr};
- port = ${cfg.port};
- };
- '';
- type = types.package;
- };
- };
- };
-
- config = mkIf cfg.enable {
- systemd.services.timetagger = {
- description = "Timetagger service";
- wantedBy = [ "multi-user.target" ];
-
- serviceConfig = {
- User = "timetagger";
- Group = "timetagger";
- StateDirectory = "timetagger";
-
- ExecStart = "${cfg.package}/bin/timetagger";
-
- Restart = "on-failure";
- RestartSec = 1;
- };
- };
- };
-}
-