env variables
This commit is contained in:
parent
d21ff63c43
commit
591d45cb65
@ -13,12 +13,18 @@
|
|||||||
catppuccin.enable = true;
|
catppuccin.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = rec {
|
||||||
username = "ivand";
|
username = "ivand";
|
||||||
homeDirectory = "/home/ivand";
|
homeDirectory = "/home/ivand";
|
||||||
sessionPath = [
|
sessionPath = [
|
||||||
"$HOME/.local/bin"
|
"$HOME/.local/bin"
|
||||||
];
|
];
|
||||||
|
sessionVariables = {
|
||||||
|
PASSWORD_STORE_DIR = "${homeDirectory}/.password-store";
|
||||||
|
EDITOR = "nvim";
|
||||||
|
PAGER = "bat";
|
||||||
|
TERM = "screen-256color";
|
||||||
|
};
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
name = "Catppuccin-Mocha-Green-Cursors";
|
name = "Catppuccin-Mocha-Green-Cursors";
|
||||||
package = pkgs.catppuccin-cursors.mochaGreen;
|
package = pkgs.catppuccin-cursors.mochaGreen;
|
||||||
|
@ -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))";
|
PATH = "($env.PATH | split row (char esep) | append ($env.HOME | path join .local bin))";
|
||||||
EDITOR = "nvim";
|
|
||||||
TERM = "screen-256color";
|
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
gcal = ''
|
gcal = ''
|
||||||
|
@ -7,11 +7,6 @@
|
|||||||
loginExtra = ''
|
loginExtra = ''
|
||||||
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
||||||
'';
|
'';
|
||||||
sessionVariables = {
|
|
||||||
PASSWORD_STORE_DIR = "$HOME/.password-store";
|
|
||||||
PAGER = "bat";
|
|
||||||
TERM = "screen-256color";
|
|
||||||
};
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cal = "cal $(date +%Y)";
|
cal = "cal $(date +%Y)";
|
||||||
GG = "git add . && git commit -m 'GG' && git push --set-upstream origin HEAD";
|
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'";
|
la = "${pkgs.nushell}/bin/nu -c 'ls -al'";
|
||||||
torrent = "transmission-remote";
|
torrent = "transmission-remote";
|
||||||
vi = "nvim";
|
vi = "nvim";
|
||||||
|
sc = "systemctl";
|
||||||
};
|
};
|
||||||
shellGlobalAliases = {
|
shellGlobalAliases = {
|
||||||
comp = "-vcodec libx265 -crf 28";
|
comp = "-vcodec libx265 -crf 28";
|
||||||
|
Loading…
Reference in New Issue
Block a user