Minor refactors
This commit is contained in:
parent
3470aa5289
commit
b79980fe21
|
@ -41,7 +41,7 @@
|
||||||
networking.hostName = "kuro";
|
networking.hostName = "kuro";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidiaBeta" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
# For ergodox ez
|
# For ergodox ez
|
||||||
environment = {
|
environment = {
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
];
|
];
|
||||||
# These are the defaults, but some applications are buggy when these lack
|
# These are the defaults, but some applications are buggy when these lack
|
||||||
# explicit values.
|
# explicit values.
|
||||||
sessionVariables = {
|
variables = {
|
||||||
XDG_CONFIG_HOME = "$HOME/.config";
|
XDG_CONFIG_HOME = "$HOME/.config";
|
||||||
XDG_CACHE_HOME = "$HOME/.cache";
|
XDG_CACHE_HOME = "$HOME/.cache";
|
||||||
XDG_DATA_HOME = "$HOME/.local/share";
|
XDG_DATA_HOME = "$HOME/.local/share";
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
environment = {
|
environment = {
|
||||||
extraInit = ''
|
extraInit = ''
|
||||||
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
export GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
|
||||||
if [ ! -d "$GNUPGHOME" ]; then
|
mkdir -p "$GNUPGHOME" -m 700
|
||||||
mkdir -p "$GNUPGHOME" -m 700
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue