feat(archiving): add 'archiving' module

This commit is contained in:
2026-09-23 22:31:57 +02:00
parent 0eae8d947a
commit 069f9e83a8
4 changed files with 22 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@
opencode.enable = true; opencode.enable = true;
}; };
anki.enable = true; anki.enable = true;
archiving.enable = true;
audio.enable = true; audio.enable = true;
browser.enable = true; browser.enable = true;
browser.primary = "librewolf"; browser.primary = "librewolf";
-1
View File
@@ -18,6 +18,5 @@ with pkgs;
sops sops
tldr tldr
tree tree
unzip
wget wget
] ]
+1
View File
@@ -41,6 +41,7 @@
opencode.enable = true; opencode.enable = true;
}; };
anki.enable = true; anki.enable = true;
archiving.enable = true;
browser = { browser = {
enable = true; enable = true;
primary = "firefox"; primary = "firefox";
+20
View File
@@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.archiving;
in
{
options.archiving.enable = lib.mkEnableOption "archiving";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
unzip
zip
];
};
}