Fixed hyprland not launching on latest nixpkgs version on mac
This commit is contained in:
parent
af883624f5
commit
89f6e2224a
5 changed files with 29 additions and 25 deletions
|
|
@ -7,7 +7,6 @@
|
|||
imports =
|
||||
[
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.stylix.nixosModules.stylix
|
||||
inputs.nixos-facter-modules.nixosModules.facter
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
|
@ -277,6 +276,8 @@
|
|||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {inherit pkgs; inherit hwconfig; inherit first-nixos-install; inherit inputs;};
|
||||
};
|
||||
stylix = {
|
||||
|
|
|
|||
|
|
@ -21,9 +21,12 @@ in
|
|||
# powertop.enable = true;
|
||||
#};
|
||||
#hardware.graphics.enable32Bit = lib.mkForce false;
|
||||
environment.systemPackages = with pkgs; [mesa mesa.drivers
|
||||
#widevine-cdm
|
||||
#widevinecdm-aarch64
|
||||
environment.systemPackages = with pkgs; [
|
||||
#mesa
|
||||
#mesa.drivers
|
||||
mesa-asahi-edge
|
||||
#widevine-cdm
|
||||
#widevinecdm-aarch64
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
};
|
||||
};
|
||||
configPackages = with pkgs; [
|
||||
inputs.hyprland.packages.${hwconfig.system}.xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-hyprland
|
||||
kdePackages.xdg-desktop-portal-kde
|
||||
];
|
||||
};
|
||||
|
|
@ -100,8 +100,6 @@
|
|||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages."${hwconfig.system}".hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${hwconfig.system}.xdg-desktop-portal-hyprland;
|
||||
xwayland.enable = true;
|
||||
systemd.setPath.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue