summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/zenbook/configuration.nix11
-rw-r--r--modules/nixos/services.nix7
2 files changed, 6 insertions, 12 deletions
diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix
index 514c190..23947f5 100644
--- a/machines/zenbook/configuration.nix
+++ b/machines/zenbook/configuration.nix
@@ -19,14 +19,11 @@
environment.shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
- services = {
- xserver.displayManager.sddm = {
- enableHidpi = true;
- settings = {
- serverArguments = "-nolisten tcp -dpi 170";
- };
+ services.xserver.displayManager.sddm = {
+ enableHidpi = true;
+ settings = {
+ serverArguments = "-nolisten tcp -dpi 170";
};
- fstrim.enable = true;
};
networking = {
diff --git a/modules/nixos/services.nix b/modules/nixos/services.nix
index 6ad8594..f80f353 100644
--- a/modules/nixos/services.nix
+++ b/modules/nixos/services.nix
@@ -8,7 +8,8 @@
};
spotifyd.enable = true;
- #FROM: configuration.nix
+ fstrim.enable = true;
+
# localtimed.enable = true;
xserver = {
# Enable the X11 windowing system.
@@ -17,10 +18,6 @@
# Enable touchpad support (enabled default in most desktopManager).
libinput.enable = true;
- # Configure keymap in X11
- # layout = "us";
- # xkbOptions = "eurosign:e,caps:escape";
-
# Enable the Plasma 5 Desktop Environment.
desktopManager.plasma5.enable = true;
displayManager = {