xdg compliance
This commit is contained in:
parent
744b720b9b
commit
d6f13fbed8
|
|
@ -22,6 +22,13 @@ alias ll='ls -la'
|
|||
alias la='ls -la'
|
||||
alias l='ls'
|
||||
|
||||
if [[ -e ~/.local/ssh/config ]]; then
|
||||
alias ssh="ssh -F ~/.local/ssh/config"
|
||||
alias sftp="sftp -F ~/.local/ssh/config"
|
||||
alias scp="scp -F ~/.local/ssh/config"
|
||||
alias rsync="rsync -e 'ssh -F $HOME/.local/ssh/config'"
|
||||
fi
|
||||
|
||||
# replace cat with bat
|
||||
_exists bat && alias cat='bat'
|
||||
|
||||
|
|
|
|||
5
config/git/config
Normal file
5
config/git/config
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[user]
|
||||
email = caandt@twoha.cc
|
||||
name = caandt
|
||||
[core]
|
||||
sshCommand = ssh -F ~/.local/ssh/config
|
||||
11
home.nix
11
home.nix
|
|
@ -10,7 +10,15 @@ in
|
|||
home.homeDirectory = homeDirectory;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
(pkgs.symlinkJoin {
|
||||
name = "firefox";
|
||||
paths = [ pkgs.firefox ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/firefox \
|
||||
--set HOME "${homeDirectory}/.local/share"
|
||||
'';
|
||||
})
|
||||
alacritty
|
||||
mpv
|
||||
nsxiv
|
||||
|
|
@ -80,6 +88,7 @@ in
|
|||
xdg.configFile.bash.source = mkln "config/bash";
|
||||
xdg.configFile.fcitx5.source = config/fcitx5;
|
||||
xdg.configFile.fontconfig.source = config/fontconfig;
|
||||
xdg.configFile.git.source = config/git;
|
||||
xdg.configFile.lsd.source = config/lsd;
|
||||
xdg.configFile.picom.source = config/picom;
|
||||
xdg.configFile.python.source = config/python;
|
||||
|
|
|
|||
Loading…
Reference in a new issue