summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/zenbook/configuration.nix4
-rw-r--r--modules/nixos/services.nix5
2 files changed, 8 insertions, 1 deletions
diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix
index 77e7fe6..db16c3c 100644
--- a/machines/zenbook/configuration.nix
+++ b/machines/zenbook/configuration.nix
@@ -19,6 +19,10 @@
environment.shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
+ services.xserver.displayManager.sddm.settings = {
+ ServerArguments = { "-nolisten tcp -dpi 170"};
+ }
+
networking = {
firewall = {
# Open ports in the firewall.
diff --git a/modules/nixos/services.nix b/modules/nixos/services.nix
index c0cd4e8..3fa9d40 100644
--- a/modules/nixos/services.nix
+++ b/modules/nixos/services.nix
@@ -24,7 +24,10 @@
# Enable the Plasma 5 Desktop Environment.
desktopManager.plasma5.enable = true;
displayManager = {
- sddm.enable = true;
+ sddm = {
+ enable = true;
+ enableHidpi = true;
+ };
# defaultSession = "plasmawayland";
};
};