feat(archiving): add 'archiving' module
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
opencode.enable = true;
|
||||
};
|
||||
anki.enable = true;
|
||||
archiving.enable = true;
|
||||
audio.enable = true;
|
||||
browser.enable = true;
|
||||
browser.primary = "librewolf";
|
||||
|
||||
@@ -18,6 +18,5 @@ with pkgs;
|
||||
sops
|
||||
tldr
|
||||
tree
|
||||
unzip
|
||||
wget
|
||||
]
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
opencode.enable = true;
|
||||
};
|
||||
anki.enable = true;
|
||||
archiving.enable = true;
|
||||
browser = {
|
||||
enable = true;
|
||||
primary = "firefox";
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user