refactor: extract 'pandoc' module
This commit is contained in:
@@ -23,6 +23,7 @@ in
|
||||
../../modules/kitty.nix
|
||||
../../modules/music
|
||||
../../modules/nvim.nix
|
||||
../../modules/pandoc.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/taskwarrior.nix
|
||||
../../modules/keepassxc.nix
|
||||
@@ -46,6 +47,7 @@ in
|
||||
cloud.hetzner.enable = true;
|
||||
comms.signal.enable = true;
|
||||
github.enable = true;
|
||||
pandoc.enable = true;
|
||||
|
||||
shell.bash = {
|
||||
enable = true;
|
||||
|
||||
@@ -23,6 +23,7 @@ in
|
||||
../../modules/music
|
||||
../../modules/nfc
|
||||
../../modules/nvim.nix
|
||||
../../modules/pandoc.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/taskwarrior.nix
|
||||
../../modules/keepassxc.nix
|
||||
@@ -45,6 +46,7 @@ in
|
||||
comms.signal.enable = true;
|
||||
github.enable = true;
|
||||
nfc.proxmark3.enable = true;
|
||||
pandoc.enable = true;
|
||||
|
||||
shell.bash = {
|
||||
enable = true;
|
||||
|
||||
@@ -6,14 +6,12 @@ with pkgs;
|
||||
entr
|
||||
feh
|
||||
fzf
|
||||
haskellPackages.pandoc-crossref
|
||||
htop
|
||||
jq
|
||||
nixfmt-rfc-style
|
||||
nmap
|
||||
nodejs_24
|
||||
nvimpager
|
||||
pandoc
|
||||
parallel
|
||||
pass
|
||||
pnpm
|
||||
|
||||
@@ -26,6 +26,7 @@ in
|
||||
../../modules/keepassxc.nix
|
||||
../../modules/kitty.nix
|
||||
../../modules/nvim.nix
|
||||
../../modules/pandoc.nix
|
||||
../../modules/browser
|
||||
../../modules/shell
|
||||
../../modules/music
|
||||
@@ -75,6 +76,7 @@ in
|
||||
ai-tools.claude-code.enable = true;
|
||||
github.enable = true;
|
||||
gitlab.enable = true;
|
||||
pandoc.enable = true;
|
||||
|
||||
shell.bash.enable = true;
|
||||
starship.enable = true;
|
||||
|
||||
20
home/modules/pandoc.nix
Normal file
20
home/modules/pandoc.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.pandoc;
|
||||
in
|
||||
{
|
||||
options.pandoc.enable = lib.mkEnableOption "pandoc with crossref";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
pandoc
|
||||
haskellPackages.pandoc-crossref
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user