From 402926b78bf7a12ed9066b4286305ae2c2718a00 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 24 Sep 2024 15:37:35 +0200 Subject: [PATCH] solaire: add neovim, fix repeating code --- hosts/solaire/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/hosts/solaire/default.nix b/hosts/solaire/default.nix index 6c0f5d7..f1c074b 100644 --- a/hosts/solaire/default.nix +++ b/hosts/solaire/default.nix @@ -1,6 +1,4 @@ -{ pkgs, ... }: - -{ +{pkgs, ...}: { imports = [ ./hardware-configuration.nix ]; @@ -38,11 +36,17 @@ serviceConfig = { ExecStart = "${pkgs.uni-sync}/bin/uni-sync"; }; - wantedBy = [ "multi-user.target" ]; + wantedBy = ["multi-user.target"]; + }; + modules = { + nvidia.enable = true; + gaming.enable = true; + pipewire = { + enable = true; + latencyFix.enable = true; + }; + neovim.enable = true; }; - modules.nvidia.enable = true; - modules.gaming.enable = true; - modules.pipewire.latencyFix.enable = true; stylix.image = ../../wallpapers/lucy-edgerunners-wallpaper.jpg; }