mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added user2 and refactored to accommodate
This commit is contained in:
parent
c169f84dcc
commit
9cdcf4fec4
97 changed files with 1473 additions and 1052 deletions
10
home/modules/gui/apps/emulators/default.nix
Executable file
10
home/modules/gui/apps/emulators/default.nix
Executable file
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
content = builtins.readDir ./.;
|
||||
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
|
||||
importList = map (name: ./. + "/${name}") dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
22
home/modules/gui/apps/emulators/ghostty/config/settings.nix
Executable file
22
home/modules/gui/apps/emulators/ghostty/config/settings.nix
Executable file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
fonts
|
||||
;
|
||||
in
|
||||
{
|
||||
confirm-close-surface = false;
|
||||
window-decoration = false;
|
||||
font-size = fonts.sizes.terminal.size0;
|
||||
font-family = fonts.names.name0;
|
||||
window-padding-x = 10;
|
||||
window-padding-y = 10;
|
||||
copy-on-select = true;
|
||||
bold-is-bright = true;
|
||||
shell-integration = "detect";
|
||||
command = "${pkgs.nushell}/bin/nu";
|
||||
}
|
36
home/modules/gui/apps/emulators/ghostty/config/themes.nix
Executable file
36
home/modules/gui/apps/emulators/ghostty/config/themes.nix
Executable file
|
@ -0,0 +1,36 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
currentThemes
|
||||
palettes
|
||||
;
|
||||
|
||||
el = palettes.${currentThemes.theme0}.colours;
|
||||
in
|
||||
{
|
||||
theme = {
|
||||
background = el.base01;
|
||||
cursor-color = el.base06;
|
||||
foreground = el.base05;
|
||||
palette = [
|
||||
"0=${el.base03}"
|
||||
"1=${el.base08}"
|
||||
"2=${el.base0B}"
|
||||
"3=${el.base0A}"
|
||||
"4=${el.base0D}"
|
||||
"5=${el.base17}"
|
||||
"6=${el.base0C}"
|
||||
"7=${el.base05}"
|
||||
"8=${el.base04}"
|
||||
"9=${el.base08}"
|
||||
"10=${el.base03}"
|
||||
"11=${el.base0A}"
|
||||
"12=${el.base0D}"
|
||||
"13=${el.base17}"
|
||||
"14=${el.base0C}"
|
||||
"15=${el.base05}"
|
||||
];
|
||||
selection-background = el.base04;
|
||||
selection-foreground = el.base05;
|
||||
};
|
||||
}
|
27
home/modules/gui/apps/emulators/ghostty/default.nix
Executable file
27
home/modules/gui/apps/emulators/ghostty/default.nix
Executable file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
configPath = ./config;
|
||||
settingsPath = import (configPath + /settings.nix) {
|
||||
inherit
|
||||
flake
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
themesPath = import (configPath + /themes.nix) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
package = flake.inputs.ghostty.packages.${pkgs.system}.default;
|
||||
settings = settingsPath;
|
||||
themes = themesPath;
|
||||
};
|
||||
}
|
19
home/modules/gui/apps/emulators/kitty/default.nix
Executable file
19
home/modules/gui/apps/emulators/kitty/default.nix
Executable file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
flake,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
fonts
|
||||
;
|
||||
in
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = fonts.names.name0;
|
||||
size = fonts.sizes.terminal.size0;
|
||||
};
|
||||
themeFile = "Catppuccin-Macchiato";
|
||||
};
|
||||
}
|
19
home/modules/gui/apps/emulators/wezterm/config/extraConfig.nix
Executable file
19
home/modules/gui/apps/emulators/wezterm/config/extraConfig.nix
Executable file
|
@ -0,0 +1,19 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
fonts
|
||||
;
|
||||
in
|
||||
''
|
||||
return {
|
||||
color_scheme = "Catppuccin Macchiato",
|
||||
font_size = ${builtins.toString fonts.sizes.terminal.size0},
|
||||
font = wezterm.font('${fonts.names.name0}'),
|
||||
enable_tab_bar = false,
|
||||
window_close_confirmation = 'NeverPrompt',
|
||||
term = 'wezterm',
|
||||
enable_wayland = true,
|
||||
front_end = "WebGpu",
|
||||
max_fps = 200
|
||||
}
|
||||
''
|
16
home/modules/gui/apps/emulators/wezterm/default.nix
Executable file
16
home/modules/gui/apps/emulators/wezterm/default.nix
Executable file
|
@ -0,0 +1,16 @@
|
|||
{ flake, ... }:
|
||||
{
|
||||
programs.wezterm =
|
||||
let
|
||||
configPath = ./config;
|
||||
extraConfigPath = import (configPath + /extraConfig.nix) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
extraConfig = extraConfigPath;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue