feat(hydrus): init
This commit is contained in:
13
modules/home/hydrus.nix
Normal file
13
modules/home/hydrus.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.hydrus;
|
||||
in {
|
||||
options.sydnix.hydrus = {
|
||||
enable = lib.mkEnableOption "hydrus";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.hydrus ];
|
||||
sydnix.impermanence.directories = [ "Hydrus" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user