Keep going

This commit is contained in:
2023-02-08 23:02:36 +00:00
parent a7e729c29f
commit c8727a52d4
7 changed files with 55 additions and 16 deletions

View File

@@ -31,7 +31,20 @@
inherit system;
config.allowUnfree = true;
})
// {i3utils = i3utils.packages.${system}.default;};
// {
i3utils = i3utils.packages.${system}.default;
hyprland = hyprland.packages."x86_64-linux".default.overrideAttrs (finalAttrs: previousAttrs: {
buildInputs = previousAttrs.buildInputs ++ [pkgs.makeWrapper];
postInstall = ''
ls -lar $out
wrapProgram $out/bin/Hyprland \
--set LIBVA_DRIVER_NAME nvidia \
--set XDG_SESSION_TYPE wayland \
--set __GLX_VENDOR_LIBRARY_NAME nvidia \
--set WLR_NO_HARDWARE_CURSORS 1
'';
});
};
lib = nixpkgs.lib;
@@ -48,6 +61,13 @@
agenix.nixosModules.default
hyprland.nixosModules.default
{
programs.hyprland = {
enable = true;
};
}
home-manager.nixosModules.home-manager
{
home-manager = {