Several changes:

- gpg working in darwin
- new git full package
- git settings for darwin (using different account)
- updaded techinque to detect host platform
This commit is contained in:
Andrea Ciceri 2021-11-03 18:29:40 +01:00
parent 8fe4fdfcbc
commit 4d356b3a06
No known key found for this signature in database
GPG key ID: AAFD2423608B645B
4 changed files with 27 additions and 6 deletions

View file

@ -55,7 +55,7 @@
};
loginExtra = "[[ -z $DISPLAY && $TTY = /dev/tty1 ]] && exec sway";
initExtra =
if pkgs.system == "x86_64-darwin"
if pkgs.stdenv.hostPlatform.isDarwin
then "if test -e /etc/static/bashrc; then source /etc/static/bashrc > /dev/null 2>&1; fi"
else "";
};