start to remove modules in favour of options
This commit is contained in:
23 files changed
+302
-389
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.nixosModules.global = { lib, config, ... }: {
|
||||
options.features.applications.cli.fastfetch.enable = lib.mkEnableOption "fastfetch";
|
||||
};
|
||||
|
||||
flake.homeModules.global = { pkgs, lib, osConfig, ... }: {
|
||||
config = lib.mkIf (osConfig.features.applications.cli.fastfetch.enable) ({
|
||||
programs.zsh.initContent = lib.mkOrder 1500 "fastfetch";
|
||||
programs.fastfetch.enable = true;
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user