diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-13 23:06:42 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-13 23:06:42 -0700 |
| commit | 8d4d400106255735423a073abd710c435618ee85 (patch) | |
| tree | 949836db0aa6e8c6ea3a0e0040d204319101f18d /machines/zenbook | |
| parent | d5222998c62a85f689a105da88337e624b7802c2 (diff) | |
enable fstrim for ssd
Diffstat (limited to 'machines/zenbook')
| -rw-r--r-- | machines/zenbook/configuration.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix index 23947f5..514c190 100644 --- a/machines/zenbook/configuration.nix +++ b/machines/zenbook/configuration.nix @@ -19,11 +19,14 @@ 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 = { |
