home-manager: make the hm modules match the nixos ones

This commit is contained in:
Veneficium 2024-11-05 17:45:56 +01:00
parent 4fc501b1e2
commit 32a5ebf118
16 changed files with 256 additions and 98 deletions

View file

@ -1,7 +1,13 @@
{ ... }:
{ config, lib, ... }:
{
programs.hyfetch = {
enable = true;
#todo add hyfetch config
options.settings.programs.hyfetch = {
enable = lib.mkEnableOption "enables hyfetch";
};
config = lib.mkIf config.settings.programs.hyfetch.enable {
programs.hyfetch = {
enable = true;
#todo add hyfetch config
};
};
}