Reorganized
This commit is contained in:
1 parent
c3c61ce654
commit
760815da50
145 files changed
-1444
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.obsidian;
|
||||
in
|
||||
{
|
||||
options.modules.obsidian = {
|
||||
enable = mkEnableOption "obsidian";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
modules.unfree.allowedPackages = [ "obsidian" ];
|
||||
|
||||
home.packages = with pkgs; [ obsidian ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user