Updates
This commit is contained in:
25
flake.nix
25
flake.nix
@@ -16,8 +16,6 @@
|
||||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
i3utils.url = "git+https://git.sr.ht/~dpatterbee/i3utils?ref=main";
|
||||
i3utils.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
@@ -31,7 +29,6 @@
|
||||
devenv,
|
||||
golink,
|
||||
home-manager,
|
||||
hyprland,
|
||||
i3utils,
|
||||
nixgl,
|
||||
...
|
||||
@@ -44,7 +41,6 @@
|
||||
config.allowUnfree = true;
|
||||
overlays = [
|
||||
golink.overlay
|
||||
hyprland.overlays.default
|
||||
nixgl.overlay
|
||||
];
|
||||
config.permittedInsecurePackages = [
|
||||
@@ -53,17 +49,6 @@
|
||||
})
|
||||
// {
|
||||
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;
|
||||
@@ -92,13 +77,6 @@
|
||||
|
||||
agenix.nixosModules.default
|
||||
|
||||
hyprland.nixosModules.default
|
||||
{
|
||||
programs.hyprland = {
|
||||
enable = !headless;
|
||||
};
|
||||
}
|
||||
|
||||
golink.nixosModules.default
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
@@ -110,9 +88,6 @@
|
||||
inherit hostname;
|
||||
inherit headless;
|
||||
};
|
||||
sharedModules = [
|
||||
hyprland.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user