fix: hyprland not-nightly
This commit is contained in:
parent
bfccff4510
commit
efdc25b026
3 changed files with 4 additions and 17 deletions
|
|
@ -10,7 +10,6 @@
|
|||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
zen-browser.url = "github:0xc000022070/zen-browser-flake";
|
||||
claude-code.url = "github:ryoppippi/claude-code-overlay";
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -20,7 +19,6 @@
|
|||
nixos-hardware,
|
||||
zen-browser,
|
||||
claude-code,
|
||||
hyprland,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -120,13 +118,13 @@
|
|||
home-manager.backupFileExtension = "bak";
|
||||
home-manager.users.barrett = import ./home/home.nix;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit zen-browser hyprland;
|
||||
inherit zen-browser;
|
||||
hostConfig = xps15Config;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
inherit nixpkgs hyprland;
|
||||
inherit nixpkgs;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
lib,
|
||||
config,
|
||||
hostConfig,
|
||||
hyprland ? null,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -38,13 +37,7 @@ in
|
|||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package =
|
||||
if !hostConfig.isNixOS then
|
||||
null
|
||||
else if hyprland != null then
|
||||
hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland
|
||||
else
|
||||
pkgs.hyprland;
|
||||
package = if hostConfig.isNixOS then pkgs.hyprland else null;
|
||||
portalPackage = null;
|
||||
systemd.enable = hostConfig.isNixOS;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
hyprland,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -23,7 +22,7 @@ in
|
|||
efiSupport = true;
|
||||
device = "nodev";
|
||||
useOSProber = true;
|
||||
configurationLimit = 10;
|
||||
configurationLimit = 5;
|
||||
gfxmodeEfi = "1920x1200,auto";
|
||||
fontSize = 36;
|
||||
};
|
||||
|
|
@ -99,7 +98,6 @@ in
|
|||
};
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
|
|
@ -185,8 +183,6 @@ in
|
|||
"root"
|
||||
"barrett"
|
||||
];
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue