forked from Shinonome/dots-hyprland
added more environment etc
This commit is contained in:
@@ -44,9 +44,25 @@ in {
|
||||
environment.etc."skel/.config/matugen" = {
|
||||
source = "../../../.config/matugen";
|
||||
};
|
||||
environment.etc."skel/.config/fuzzel" = {
|
||||
source = "../../../.config/fuzzel";
|
||||
environment.etc."skel/.config/foot" = {
|
||||
source = "../../../.config/foot";
|
||||
};
|
||||
environment.etc."skel/.config/kitty" = {
|
||||
source = "../../../.config/kitty";
|
||||
};
|
||||
environment.etc."skel/.config/qt5ct" = {
|
||||
source = "../../../.config/qt5ct";
|
||||
};
|
||||
environment.etc."skel/.config/qt6ct" = {
|
||||
source = "../../../.config/qt6ct";
|
||||
};
|
||||
environment.etc."skel/.config/wlogout" = {
|
||||
source = "../../../.config/wlogout";
|
||||
};
|
||||
environment.etc."skel/.config/Kvantum" = {
|
||||
source = "../../../.config/Kvantum";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs;
|
||||
# --- Illogical Impulse Audio Dependencies ---
|
||||
[
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
imports = [
|
||||
./terminal.nix
|
||||
];
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
mkIf
|
||||
mkMerge
|
||||
mkDefault
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
cfg = config.illogical-impulse.terminal;
|
||||
|
||||
commonTerminalConfig = {
|
||||
environment.systemPackages = with pkgs; [
|
||||
starship
|
||||
eza
|
||||
];
|
||||
};
|
||||
in {
|
||||
options = {
|
||||
illogical-impulse.terminal = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable the terminal-related configuration for this user.
|
||||
'';
|
||||
};
|
||||
terminalEmulator = mkOption {
|
||||
type = types.enum ["foot" "kitty"];
|
||||
default = "foot";
|
||||
description = ''
|
||||
The default terminal emulator to enable for this user.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (
|
||||
mkMerge [
|
||||
commonTerminalConfig
|
||||
|
||||
(mkIf (cfg.terminalEmulator == "foot") {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
# Foot-specific configuration
|
||||
settings = {
|
||||
main.font = "FiraCode Nerd Font:size=10";
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (cfg.terminalEmulator == "kitty") {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font_family = "FiraCode Nerd Font Mono";
|
||||
font_size = 10.0;
|
||||
};
|
||||
};
|
||||
})
|
||||
]
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user