Update to NixOS 19.09

This commit is contained in:
Henrik Lissner 2019-10-17 19:57:00 -04:00
parent 527d294dea
commit e1ddef327a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 12 additions and 14 deletions

View file

@ -21,7 +21,7 @@ super + {_,shift +}{1-9,0}
bspc {desktop -f,node -d} {1-9,10} bspc {desktop -f,node -d} {1-9,10}
super + Return super + Return
st xst
super + grave super + grave
st-scratch st-scratch

View file

@ -57,6 +57,13 @@
time.timeZone = "America/Toronto"; time.timeZone = "America/Toronto";
# time.timeZone = "Europe/Copenhagen"; # time.timeZone = "Europe/Copenhagen";
location = (if config.time.timeZone == "America/Toronto" then {
latitude = 43.70011;
longitude = -79.4163;
} else if config.time.timeZone == "Europe/Copenhagen" then {
latitude = 55.88;
longitude = 12.5;
} else {});
# Set up hlissner user account # Set up hlissner user account
users.users.hlissner = { users.users.hlissner = {
@ -75,5 +82,5 @@
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you
# should. # should.
system.stateVersion = "19.03"; # Did you read the comment? system.stateVersion = "19.09"; # Did you read the comment?
} }

View file

@ -37,7 +37,7 @@
xdotool windowactivate $scratch xdotool windowactivate $scratch
fi fi
else else
st -t $SCRID -n $SCRID -c $SCRID \ xst -t $SCRID -n $SCRID -c $SCRID \
-f "$(xrdb -query | grep 'st-scratch\.font' | cut -f2)" \ -f "$(xrdb -query | grep 'st-scratch\.font' | cut -f2)" \
-g 100x26 \ -g 100x26 \
-e $SHELL -e $SHELL
@ -58,7 +58,7 @@
compton = { compton = {
enable = true; enable = true;
backend = "glx"; backend = "glx";
vSync = "opengl-swc"; vSync = true;
inactiveOpacity = "0.90"; inactiveOpacity = "0.90";
}; };
}; };

View file

@ -22,16 +22,7 @@
enable = true; enable = true;
libinput.disableWhileTyping = true; libinput.disableWhileTyping = true;
}; };
redshift.enable = true;
redshift = (if config.time.timeZone == "America/Toronto" then {
enable = true;
latitude = "43.70011";
longitude = "-79.4163";
} else if config.time.timeZone == "Europe/Copenhagen" then {
enable = true;
latitude = "55.88";
longitude = "12.5";
} else {});
}; };
fonts = { fonts = {