feat(desktop): move launcher config to homes and use home-manager modules

This commit is contained in:
Mohammad Rafiq 2025-06-14 13:59:41 +08:00
parent 6d84bd00fe
commit e6a60c257c
No known key found for this signature in database
6 changed files with 25 additions and 26 deletions

View file

@ -1,24 +0,0 @@
{
config,
lib,
osConfig,
...
}:
{
config = lib.mkMerge [
(lib.mkIf (osConfig.desktop.launcher == "fuzzel") {
home.sessionVariables.LAUNCHER = "fuzzel";
programs.fuzzel = {
enable = true;
};
})
(lib.mkIf (osConfig.desktop.launcher == "wofi") {
home.sessionVariables.LAUNCHER = "wofi";
programs.wofi = {
enable = true;
style = null;
settings = { };
};
})
];
}