refactor(homeModules/desktop): rm option declarations
This commit is contained in:
parent
ccdd8d19d9
commit
aa9a28fa1c
9 changed files with 16 additions and 32 deletions
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
config,
|
||||
osConfig,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf (config.desktop.terminal == "kitty") {
|
||||
(lib.mkIf (osConfig.desktop.terminal == "kitty") {
|
||||
home.packages = with pkgs; [ kitty ];
|
||||
home.sessionVariables.TERMINAL = "kitty";
|
||||
})
|
||||
(lib.mkIf (config.desktop.terminal == "ghostty") {
|
||||
(lib.mkIf (osConfig.desktop.terminal == "ghostty") {
|
||||
home.sessionVariables.TERMINAL = "ghostty -e";
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue