restructure
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
{ ... }: {
|
||||
|
||||
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
||||
flake.homeModules.nathan-scripts = { config, lib, pkgs, ... }: {
|
||||
|
||||
options = {
|
||||
homeconfig.scripts.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
||||
(lib.mkIf config.homeconfig.scripts.enable {
|
||||
config = {
|
||||
home.packages = [
|
||||
|
||||
#scripts
|
||||
@@ -64,8 +55,7 @@
|
||||
'')
|
||||
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user