diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-13 23:22:29 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-13 23:22:29 -0700 |
| commit | e48e7e470ff02ab9a1d0af2458ce47e67cb820e5 (patch) | |
| tree | e5363bc679bd403b8c7ddcea9284e5fe72801a72 | |
| parent | 8d4d400106255735423a073abd710c435618ee85 (diff) | |
move fstrim to all systems, plus cleaning
| -rw-r--r-- | machines/zenbook/configuration.nix | 11 | ||||
| -rw-r--r-- | 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 = { |
