feat(desktop): move launcher config to homes and use home-manager modules
This commit is contained in:
parent
6d84bd00fe
commit
e6a60c257c
6 changed files with 25 additions and 26 deletions
|
@ -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 = { };
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue