Corrected path to kitty.conf
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
(use-package nerd-icons
|
||||
:custom
|
||||
;; disable bright icon colors
|
||||
(nerd-icons-color-icons nil))
|
||||
(nerd-icons-color-icons nil))hells.nix
|
||||
|
||||
(use-package doom-modeline
|
||||
:custom
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
let
|
||||
repoKittyConf = flakeRoot + "/assets/conf/dev/kitty.conf";
|
||||
repoKittyConf = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
|
||||
in
|
||||
{
|
||||
xdg.enable = true;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shells.nix — Home-Manager module
|
||||
#
|
||||
# Reads:
|
||||
# ${flakeRoot}/assets/conf/dev/terminal/enabled_shells.conf
|
||||
# ${flakeRoot}/assets/conf/shells.nixdev/terminal/enabled_shells.conf
|
||||
# ${flakeRoot}/assets/conf/dev/terminal/aliases.conf
|
||||
#
|
||||
# For each enabled shell in [enabled_shells]:
|
||||
@@ -89,7 +89,6 @@ let
|
||||
zshSeed = ''
|
||||
# Created once from: ${toString aliasesFile}
|
||||
# Edit freely; Home Manager will not overwrite this file.
|
||||
#
|
||||
${secText "bash_zsh"}
|
||||
${secText "zsh_specific"}
|
||||
'';
|
||||
@@ -125,10 +124,8 @@ let
|
||||
# Created once from: ${toString aliasesFile}
|
||||
# Edit freely; Home Manager will not overwrite this file.
|
||||
status is-interactive; or exit
|
||||
|
||||
# Translated from [bash_zsh]:
|
||||
${fishTranslated}
|
||||
|
||||
# From [fish_specific]:
|
||||
${secText "fish_specific"}
|
||||
'';
|
||||
@@ -169,7 +166,6 @@ in
|
||||
# Create/remove alias files based on enabled shells
|
||||
home.activation.shellAliasesFiles = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
set -euo pipefail
|
||||
|
||||
# bash -------------------------------------------------------
|
||||
if ${if shellEnabled "bash" then "true" else "false"}; then
|
||||
cat > "${bashAliasesPath}" <<'EOF'
|
||||
@@ -178,16 +174,14 @@ EOF
|
||||
else
|
||||
rm -f "${bashAliasesPath}"
|
||||
fi
|
||||
|
||||
# zsh -------------------------------------------------------
|
||||
if ${if shellEnabled "zsh" then "true" else "false"}; then
|
||||
if ${if shellEnabled "zsh" then "true" else "false"}; then
|
||||
cat > "${zshAliasesPath}" <<'EOF'
|
||||
${zshSeed}
|
||||
EOF
|
||||
else
|
||||
rm -f "${zshAliasesPath}"
|
||||
fi
|
||||
|
||||
# fish -------------------------------------------------------
|
||||
if ${if shellEnabled "fish" then "true" else "false"}; then
|
||||
mkdir -p "$(dirname "${fishAliasesPath}")"
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
flakeRoot,
|
||||
...
|
||||
}:
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autocd = true;
|
||||
|
||||
# Optional but recommended: keep zsh config in one dir (relative to $HOME)
|
||||
dotDir = ".config/zsh";
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "";
|
||||
@@ -28,7 +20,6 @@
|
||||
"kubectl"
|
||||
];
|
||||
};
|
||||
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user