added more environment etc

This commit is contained in:
lsoriano-mcm
2025-08-09 12:24:30 -05:00
parent 71b67cc772
commit 2327596517
9 changed files with 18 additions and 75 deletions
+18 -2
View File
@@ -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 ---
[
View File
-5
View File
@@ -1,5 +0,0 @@
{
imports = [
./terminal.nix
];
}
View File
View File
View File
-68
View File
@@ -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;
};
};
})
]
);
}