Compare commits

...

4 Commits

Author SHA1 Message Date
henrov bbe1ba6328 Disabled all confs for hyperland 2026-03-07 23:49:41 +01:00
henrov 48a66cb812 Working on terminal stuff 2026-03-07 23:44:44 +01:00
henrov b809e058d9 Working on terminal stuff 2026-03-07 23:43:22 +01:00
henrov 7c9f1318d4 Working on terminal stuff 2026-03-07 23:41:58 +01:00
6 changed files with 524 additions and 460 deletions
+401 -379
View File
File diff suppressed because it is too large Load Diff
+41 -7
View File
@@ -1099,12 +1099,46 @@ in
};
};
# Catppuccin Mocha theme for Kitty
xdg.configFile."kitty/theme.conf".source = "${pkgs.catppuccin-kitty}/share/kitty/themes/Catppuccin-Mocha.conf";
xdg.configFile."kitty/kitty.conf".text = ''
include ${kittyConfigDir}/theme.conf
background_opacity 0.9
'';
# Catppuccin Mocha theme for Kitty (embedded)
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
"# Catppuccin Mocha theme"
"background #1e1e2e"
"foreground #cdd6f4"
"selection_background #f5e0dc"
"selection_foreground #1e1e2e"
"url_color #f5e0dc"
"cursor #f5e0dc"
"cursor_text_color #1e1e2e"
"color0 #45475a"
"color8 #585b70"
"color1 #f38ba8"
"color9 #f38ba8"
"color2 #a6e3a1"
"color10 #a6e3a1"
"color3 #f9e2af"
"color11 #f9e2af"
"color4 #89b4fa"
"color12 #89b4fa"
"color5 #f5c2e7"
"color13 #f5c2e7"
"color6 #94e2d5"
"color14 #94e2d5"
"color7 #bac2de"
"color15 #bac2de"
"# Window settings"
"background_opacity 0.9"
"font_size 12.0"
"cursor_shape Beam"
];
};
}
#+END_SRC
@@ -1153,7 +1187,7 @@ in
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
+4 -4
View File
@@ -1,14 +1,14 @@
source = ./variables.conf
# source = ./behaviour.conf
# source = ./layout.conf
source = ./animations.conf
source = ./layer-rules.conf
# source = ./animations.conf
# source = ./layer-rules.conf
# source = ./window-rules.conf
source = ./monitor-rules.conf
# source = ./monitor-rules.conf
# source = ./workspace-rules.conf
source = ./bindings.conf
source = ./exec-once.conf
# source = ./exec-once.conf
general {
gaps_in = 2
@@ -1,18 +1,59 @@
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
{ config, pkgs, lib, user, ... }:
let
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
in
{
# NixOS-level packages (optional, if you want Kitty installed system-wide)
environment.systemPackages = with pkgs; [ kitty ];
# Home Manager configuration for Kitty
home-manager.users.${user.username} = {
programs.kitty = {
enable = true;
settings = {
font_family = "FiraCode Nerd Font Mono";
include = [ "${flakeRoot}/assets/kitty/themes/Catppuccin-Mocha.conf" ];
background_opacity = 0.60;
dynamic_background_opacity = true;
font_family = "JetBrainsMono Nerd Font";
font_size = 12.0;
cursor = "Beam";
cursor_blink_interval = -1;
shell = "${pkgs.zsh}/bin/zsh";
};
};
# Catppuccin Mocha theme for Kitty (embedded)
xdg.configFile."kitty/kitty.conf".text = lib.concatStringsSep "\n" [
"# Catppuccin Mocha theme"
"background #1e1e2e"
"foreground #cdd6f4"
"selection_background #f5e0dc"
"selection_foreground #1e1e2e"
"url_color #f5e0dc"
"cursor #f5e0dc"
"cursor_text_color #1e1e2e"
"color0 #45475a"
"color8 #585b70"
"color1 #f38ba8"
"color9 #f38ba8"
"color2 #a6e3a1"
"color10 #a6e3a1"
"color3 #f9e2af"
"color11 #f9e2af"
"color4 #89b4fa"
"color12 #89b4fa"
"color5 #f5c2e7"
"color13 #f5c2e7"
"color6 #94e2d5"
"color14 #94e2d5"
"color7 #bac2de"
"color15 #bac2de"
"# Window settings"
"background_opacity 0.9"
"font_size 12.0"
"cursor_shape Beam"
];
};
}
@@ -1,30 +1,27 @@
{
config,
pkgs,
lib,
user,
...
}:
{ config, pkgs, lib, user, ... }:
{
home-manager.users.${user.username} = {
programs.starship = {
enable = true; # Globally enables Starship for all shells
settings = {
addNewline = false;
# Example: Catppuccin Mocha theme
format = "$all";
};
enable = true;
};
# Optional: Ensure Starship init is in shell configs (if not auto-added)
xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [
"eval \"$(starship init bash)\""
];
xdg.configFile."zshrc".text = lib.concatStringsSep "\n" [
"eval \"$(starship init zsh)\""
];
xdg.configFile."config/fish/config.fish".text = ''
starship init fish | source
# Catppuccin Mocha theme for Starship
xdg.configFile."starship.toml".text = ''
format = "$all"
[character]
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"
[directory]
style = "bold lavender"
[git_branch]
symbol = " "
style = "bold maroon"
[package]
disabled = true
'';
};
}
@@ -1,50 +1,36 @@
{
config,
pkgs,
lib,
user,
...
}:
{ config, pkgs, lib, user, ... }:
let
zshConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/zsh";
in
{
home-manager.users.${user.username} = {
# Install and enable Zsh
programs.zsh = {
enable = true;
enableCompletion = true;
dotDir = zshConfigDir;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
theme = "agnoster"; # Popular minimal theme
theme = "agnoster";
plugins = [
"git"
"sudo"
"docker"
"kubectl"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
"docker"
"kubectl"
"history"
"command-not-found"
"extract"
"colored-man-pages"
];
};
# Shell options (setopt)
shellAliases = {
ls = "exa --icons -a --group-directories-first";
ll = "exa --icons -la --group-directories-first";
grep = "grep --color=auto";
};
};
# Consolidated .zshrc with best practices
# Consolidated .zshrc
xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [
"# Enable Powerlevel10k (if installed)"
"${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
"# Oh-My-Zsh"
"export ZSH=\"${zshConfigDir}\""
"source \"${pkgs.zsh}/share/zsh/functions/Newuser/zsh-newuser-install\""
@@ -54,36 +40,20 @@ in
"setopt AUTO_CD"
"setopt CORRECT"
"setopt INTERACTIVE_COMMENTS"
"setopt APPEND_HISTORY"
"setopt INC_APPEND_HISTORY"
"setopt HIST_IGNORE_ALL_DUPS"
"setopt HIST_REDUCE_BLANKS"
"setopt HIST_SAVE_NO_DUPS"
"setopt HIST_VERIFY"
"setopt SHARE_HISTORY"
""
"# Starship prompt (if enabled)"
"# Starship"
"eval \"$(starship init zsh)\""
""
"# fzf key bindings and completion"
"# fzf"
"source \"${pkgs.fzf}/shell/key-bindings.zsh\""
"source \"${pkgs.fzf}/shell/completion.zsh\""
""
"# Load direnv"
"eval \"$(direnv hook zsh)\""
""
"# Load nix-direnv (if using direnv with Nix)"
"if [ -f \"${pkgs.nix-direnv}/share/nix-direnv/direnvrc\" ]; then"
" source \"${pkgs.nix-direnv}/share/nix-direnv/direnvrc\""
"fi"
""
"# User-specific customizations"
"# User customizations"
"source \"${zshConfigDir}/custom.zsh\" 2>/dev/null"
];
# Optional: User customizations (managed separately)
# User customizations
xdg.configFile."zsh/custom.zsh".text = ''
# Add your custom aliases, functions, and exports here
export EDITOR="nvim"
export PATH="$HOME/.local/bin:$PATH"
'';