move more stuff to modules

This commit is contained in:
Tristan 2023-07-20 13:48:49 +01:00
parent a2e0d1cfd5
commit 6283c36e66
6 changed files with 385 additions and 475 deletions

View file

@ -21,14 +21,13 @@ in
config = mkIf cfg.enable {
home-manager.users.${user}.imports = [{
programs.wofi = mkIf cfg.package == pkgs.wofi {
programs.wofi = mkIf (cfg.package == pkgs.wofi) {
enable = true;
settings = {
term = termcmd;
insensitive = true;
};
};
home.packages = [ cfg.package ];
}];
};
}