env variables

This commit is contained in:
Ivan Kirilov Dimitrov 2024-06-03 15:05:33 +02:00
parent d21ff63c43
commit 591d45cb65
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
3 changed files with 8 additions and 9 deletions

View File

@ -13,12 +13,18 @@
catppuccin.enable = true;
};
home = {
home = rec {
username = "ivand";
homeDirectory = "/home/ivand";
sessionPath = [
"$HOME/.local/bin"
];
sessionVariables = {
PASSWORD_STORE_DIR = "${homeDirectory}/.password-store";
EDITOR = "nvim";
PAGER = "bat";
TERM = "screen-256color";
};
pointerCursor = {
name = "Catppuccin-Mocha-Green-Cursors";
package = pkgs.catppuccin-cursors.mochaGreen;

View File

@ -12,10 +12,7 @@
}
}
'';
PASSWORD_STORE_DIR = "($env.HOME | path join .password-store)";
PATH = "($env.PATH | split row (char esep) | append ($env.HOME | path join .local bin))";
EDITOR = "nvim";
TERM = "screen-256color";
};
shellAliases = {
gcal = ''

View File

@ -7,11 +7,6 @@
loginExtra = ''
[ "$(tty)" = "/dev/tty1" ] && exec sway
'';
sessionVariables = {
PASSWORD_STORE_DIR = "$HOME/.password-store";
PAGER = "bat";
TERM = "screen-256color";
};
shellAliases = {
cal = "cal $(date +%Y)";
GG = "git add . && git commit -m 'GG' && git push --set-upstream origin HEAD";
@ -25,6 +20,7 @@
la = "${pkgs.nushell}/bin/nu -c 'ls -al'";
torrent = "transmission-remote";
vi = "nvim";
sc = "systemctl";
};
shellGlobalAliases = {
comp = "-vcodec libx265 -crf 28";