feat: move scripts to cross-platform
This commit is contained in:
parent
7a20e3c6ac
commit
b47f4adb76
6 changed files with 2 additions and 2 deletions
16
modules/cross-platform/home-manager/scripts.nix
Normal file
16
modules/cross-platform/home-manager/scripts.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.scripts.enable = lib.mkEnableOption "Enable my custom scripts";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.scripts.enable {
|
||||
home.packages = with pkgs; [
|
||||
(callPackage ./scripts {inherit pkgs;})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue