add xfce4-terminal
This commit is contained in:
parent
8cf4840195
commit
98a882dd4c
@ -81,6 +81,7 @@
|
|||||||
|
|
||||||
terminals.ghostty.enable = true;
|
terminals.ghostty.enable = true;
|
||||||
terminals.alacritty.enable = true;
|
terminals.alacritty.enable = true;
|
||||||
|
terminals.xfceTerminal.enable = true;
|
||||||
|
|
||||||
shells.fish.enable = false;
|
shells.fish.enable = false;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkOption types;
|
inherit (lib) mkIf mkOption types;
|
||||||
@ -19,12 +19,18 @@ in
|
|||||||
default = false;
|
default = false;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
|
xfceTerminal.enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
type = types.bool;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
subs.ghostty.enable = cfg.ghostty.enable;
|
subs.ghostty.enable = cfg.ghostty.enable;
|
||||||
subs.alacritty.enable = cfg.alacritty.enable;
|
subs.alacritty.enable = cfg.alacritty.enable;
|
||||||
|
|
||||||
|
home.packages = mkIf cfg.xfceTerminal.enable [ pkgs.xfce.xfce4-terminal ];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/alacritty/themes/dracula.toml".source = mkIf cfg.alacritty.enable ../config/dracula.toml;
|
".config/alacritty/themes/dracula.toml".source = mkIf cfg.alacritty.enable ../config/dracula.toml;
|
||||||
".config/ghostty/themes/ghostty-dracula".source = mkIf cfg.ghostty.enable ../config/ghostty-dracula;
|
".config/ghostty/themes/ghostty-dracula".source = mkIf cfg.ghostty.enable ../config/ghostty-dracula;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user