Minor refactors

This commit is contained in:
Henrik Lissner 2019-12-05 00:32:29 -05:00
parent 3470aa5289
commit b79980fe21
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 3 additions and 5 deletions

View file

@ -41,7 +41,7 @@
networking.hostName = "kuro";
networking.networkmanager.enable = true;
services.xserver.videoDrivers = [ "nvidiaBeta" ];
services.xserver.videoDrivers = [ "nvidia" ];
# For ergodox ez
environment = {

View file

@ -44,7 +44,7 @@
];
# These are the defaults, but some applications are buggy when these lack
# explicit values.
sessionVariables = {
variables = {
XDG_CONFIG_HOME = "$HOME/.config";
XDG_CACHE_HOME = "$HOME/.cache";
XDG_DATA_HOME = "$HOME/.local/share";

View file

@ -4,9 +4,7 @@
environment = {
extraInit = ''
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
if [ ! -d "$GNUPGHOME" ]; then
mkdir -p "$GNUPGHOME" -m 700
fi
'';
systemPackages = with pkgs; [