diff --git a/common/configuration.nix b/common/configuration.nix index 122b3a8..d5d689d 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -96,7 +96,6 @@ maple-mono.NF newcomputermodern roboto - dejavu-fonts ]; xdg.portal = { @@ -221,6 +220,25 @@ stylix = { enable = true; autoEnable = true; + fonts = { + emoji = { + package = pkgs.maple-mono.NF; + name = "Maple Mono NF"; + }; + monospace = { + package = pkgs.maple-mono.NF; + name = "Maple Mono NF"; + }; + sansSerif = { + name = "Lexend"; + package = pkgs.lexend; + }; + serif = { + name = "Lexend"; + package = pkgs.lexend; + }; + + }; base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml"; targets.plymouth.enable = false; }; diff --git a/common/home/default.nix b/common/home/default.nix index b533cef..1835fb8 100644 --- a/common/home/default.nix +++ b/common/home/default.nix @@ -477,6 +477,10 @@ in }; }; }; + zoxide = { + enable = true; + enableZshIntegration = true; + }; }; services = { @@ -519,25 +523,6 @@ in }; enable = true; polarity = "dark"; - fonts = { - emoji = { - name = "Maple Mono NF"; - package = pkgs.maple-mono.NF; - }; - monospace = { - name = "Maple Mono NF"; - package = pkgs.maple-mono.NF; - }; - sansSerif = { - name = "Lexend"; - package = pkgs.lexend; - }; - serif = { - name = "Lexend"; - package = pkgs.lexend; - }; - - }; opacity = { terminal = 0.2; popups = 0.66; diff --git a/modules/applications/zsh.nix b/modules/applications/zsh.nix index ed4cafc..aadc67d 100644 --- a/modules/applications/zsh.nix +++ b/modules/applications/zsh.nix @@ -16,7 +16,6 @@ in programs.zsh = { enable = true; shellAliases = { - update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos"; nb = "nix build -L"; nbi = "nix build -L -f ."; ns = "nix shell -L"; @@ -30,6 +29,9 @@ in plugins = [ "git" ]; theme = "frisk"; }; + loginExtra = '' + eval "$(zoxide init --cmd cmd zsh)" + ''; }; };