feat(homeModules/desktop): add app launcher
This commit is contained in:
parent
2741493555
commit
ad7c7056f9
4 changed files with 27 additions and 0 deletions
24
modules/home/desktop/launcher/default.nix
Normal file
24
modules/home/desktop/launcher/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
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