aboutsummaryrefslogtreecommitdiff
path: root/modules/users/productivity
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2026-01-09 16:57:15 +0100
committerschererleander <leander@schererleander.de>2026-01-09 23:13:49 +0100
commit3b5a73c436eb22e0cda59469263490705e149cb9 (patch)
treeae3f20ca6008b11f71247dfc6e2df8218de9b95c /modules/users/productivity
parentec45aae780da92e12cf82c5a32e336b14b7540ba (diff)
refactor: use flake-parts, change modules structure
Diffstat (limited to 'modules/users/productivity')
-rw-r--r--modules/users/productivity/anki/default.nix28
-rw-r--r--modules/users/productivity/default.nix10
-rw-r--r--modules/users/productivity/latex/default.nix47
-rw-r--r--modules/users/productivity/nextcloud-client/default.nix28
-rw-r--r--modules/users/productivity/obsidian/default.nix23
-rw-r--r--modules/users/productivity/typst/default.nix25
6 files changed, 0 insertions, 161 deletions
diff --git a/modules/users/productivity/anki/default.nix b/modules/users/productivity/anki/default.nix
deleted file mode 100644
index 58d8f49..0000000
--- a/modules/users/productivity/anki/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- config,
- lib,
- ...
-}:
-let
- cfg = config.nx.productivity.anki;
- inherit (lib) mkOption types mkIf;
-in
-{
- options.nx.productivity.anki = {
- enable = mkOption {
- description = "Anki free and open-source flashcard program";
- type = types.bool;
- default = false;
- };
- };
- config = mkIf cfg.enable {
- programs.anki = {
- enable = true;
- #style = "native";
- #addons = with pkgs.ankiAddons; [
- # anki-connect
- # review-heatmap
- #];
- };
- };
-}
diff --git a/modules/users/productivity/default.nix b/modules/users/productivity/default.nix
deleted file mode 100644
index 9e05dde..0000000
--- a/modules/users/productivity/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ ... }:
-{
- imports = [
- ./anki
- ./latex
- ./obsidian
- ./typst
- ./nextcloud-client
- ];
-}
diff --git a/modules/users/productivity/latex/default.nix b/modules/users/productivity/latex/default.nix
deleted file mode 100644
index 0720664..0000000
--- a/modules/users/productivity/latex/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- config,
- options,
- pkgs,
- lib,
- ...
-}:
-let
- cfg = config.nx.productivity.latex;
- inherit (lib) mkOption types mkIf;
-in
-{
- options.nx.productivity.latex = {
- enable = mkOption {
- description = "LaTeX typesetting system";
- type = types.bool;
- default = false;
- };
- };
-
- config = mkIf cfg.enable {
- programs.texlive = {
- enable = true;
- # See https://mynixos.com/search?q=texlivepackages.collection for more collections
- # and https://mynixos.com/search?q=texlivepackages for more individual packages.
- extraPackages = tpkgs: {
- inherit (tpkgs)
- collection-basic
- collection-latex
- collection-latexrecommended
- biblatex
- ;
- };
- };
-
- home.packages = with pkgs; [
- biber
- ];
-
- programs.pandoc = {
- enable = true;
- defaults = {
- pdf-engine = "pdfetex";
- };
- };
- };
-}
diff --git a/modules/users/productivity/nextcloud-client/default.nix b/modules/users/productivity/nextcloud-client/default.nix
deleted file mode 100644
index 1b92bb0..0000000
--- a/modules/users/productivity/nextcloud-client/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- config,
- lib,
- pkgs,
- username,
- ...
-}:
-
-let
- inherit (lib) mkOption types mkIf;
- cfg = config.nx.productivity.nextcloud-client;
-in
-{
- options.nx.productivity.nextcloud-client = {
- enable = mkOption {
- description = "Client for nextcloud";
- type = types.bool;
- default = false;
- };
- };
- config = mkIf cfg.enable {
- #home.packages = with pkgs; [ nextcloud-client ];
- services.nextcloud-client = {
- enable = true;
- startInBackground = true;
- };
- };
-}
diff --git a/modules/users/productivity/obsidian/default.nix b/modules/users/productivity/obsidian/default.nix
deleted file mode 100644
index 21b3f34..0000000
--- a/modules/users/productivity/obsidian/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- config,
- lib,
- ...
-}:
-let
- cfg = config.nx.productivity.obsidian;
- inherit (lib) mkOption types mkIf;
-in
-{
- options.nx.productivity.obsidian = {
- enable = mkOption {
- description = "Obsidian note-taking application";
- type = types.bool;
- default = false;
- };
- };
- config = mkIf cfg.enable {
- programs.obsidian = {
- enable = true;
- };
- };
-}
diff --git a/modules/users/productivity/typst/default.nix b/modules/users/productivity/typst/default.nix
deleted file mode 100644
index f3e1981..0000000
--- a/modules/users/productivity/typst/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}:
-let
- cfg = config.nx.productivity.typst;
- inherit (lib) mkOption types mkIf;
-in
-{
- options.nx.productivity.typst = {
- enable = mkOption {
- description = "Typst markup-based typesetting system";
- type = types.bool;
- default = false;
- };
- };
- config = mkIf cfg.enable {
- home.packages = with pkgs; [
- typst
- typst-fmt
- ];
- };
-}