[feat] Update nix config

This commit is contained in:
Uttarayan
2024-02-14 20:56:29 +05:30
parent 6da2a74f2e
commit 90ebc9206f
3 changed files with 21 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
.PHONY: run build
switch:
nix run home-manager/master switch --flake ~/.local/share/dotfiles/config/nix
init:
nix run home-manager/master -- init --switch ~/.local/share/dotfiles/config/nix
build:
nix run home-manager/master -- init ~/.local/share/dotfiles/config/nix

View File

@@ -1,5 +1,5 @@
{ config, pkgs, ... }:
# https://mipmip.github.io/home-manager-option-search/
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
@@ -26,11 +26,18 @@
ls = "exa";
};
interactiveShellInit = ''
# Add the following line to your ~/.config/fish/config.fish to enable
# Home Manager's Fish integration.
# source ${config.home.homeDirectory}/.nix-profile/share/hm-session-vars/hm-session-vars.fish
set fish_greeting
# macchina
${pkgs.macchina.outPath}/bin/macchina
'';
};
nushell = {
enable = true;
shellAliases = {
"cd" = "z";
};
package = pkgs.nushellFull;
configFile.text = ''
show_banner: false,
'';
};
zoxide = {
@@ -54,18 +61,11 @@
enableFishIntegration = true;
enableNushellIntegration = true;
};
nushell = {
enable = true;
package = pkgs.nushellFull;
shellAliases = {
"cd" = "z";
};
};
fzf = {
enable = true;
package = pkgs.fzf;
enableFishIntegration = true;
enableShellIntegration = true;
tmux.enableShellIntegration = true;
};
keychain = {
enable = true;
@@ -73,7 +73,11 @@
enableFishIntegration = true;
enableNushellIntegration = true;
};
yazi = {
enable = true;
enableFishIntegration = true;
enableNushellIntegration = true;
};
};
@@ -112,6 +116,7 @@
home.sessionVariables = {
EDITOR = "nvim";
SHELL = "${pkgs.fish.outPath}/bin/fish";
};
# Let Home Manager install and manage itself.

View File

@@ -49,7 +49,6 @@ in
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind h set status
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM