Minor refactors
This commit is contained in:
parent
3470aa5289
commit
b79980fe21
|
@ -41,7 +41,7 @@
|
|||
networking.hostName = "kuro";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidiaBeta" ];
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
# For ergodox ez
|
||||
environment = {
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue