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
]; ];
@ -38,11 +36,17 @@
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.uni-sync}/bin/uni-sync"; 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; stylix.image = ../../wallpapers/lucy-edgerunners-wallpaper.jpg;
} }