From e48e7e470ff02ab9a1d0af2458ce47e67cb820e5 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Mon, 13 Nov 2023 23:22:29 -0700 Subject: move fstrim to all systems, plus cleaning --- machines/zenbook/configuration.nix | 11 ++++------- modules/nixos/services.nix | 7 ++----- 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 = { -- cgit v1.2.3