mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Add option for dpi based on hostname
This commit is contained in:
parent
ffd3b93b51
commit
9d703dc8fa
@ -2,6 +2,7 @@
|
||||
let
|
||||
isgraphical = config.variables.graphical;
|
||||
cursorsize = if config.variables.hostName == "nucturne" then 14 else 16;
|
||||
xserverDPI = if config.variables.hostName == "stel-xps" then 180 else null;
|
||||
in
|
||||
{
|
||||
networking.networkmanager.enable = isgraphical;
|
||||
@ -9,7 +10,7 @@ in
|
||||
services = {
|
||||
xserver = {
|
||||
enable = isgraphical;
|
||||
dpi = 180;
|
||||
dpi = xserverDPI;
|
||||
displayManager.lightdm = {
|
||||
enable = isgraphical;
|
||||
greeters.gtk.cursorTheme.size = cursorsize;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user