solaire: add neovim, fix repeating code

This commit is contained in:
Anthony Rodriguez 2024-09-24 15:37:35 +02:00
parent 7c4198a58a
commit 402926b78b
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -40,9 +38,15 @@
}; };
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
}; };
modules.nvidia.enable = true; modules = {
modules.gaming.enable = true; nvidia.enable = true;
modules.pipewire.latencyFix.enable = true; gaming.enable = true;
pipewire = {
enable = true;
latencyFix.enable = true;
};
neovim.enable = true;
};
stylix.image = ../../wallpapers/lucy-edgerunners-wallpaper.jpg; stylix.image = ../../wallpapers/lucy-edgerunners-wallpaper.jpg;
} }