From 95e5c94e0cdf0d25e2dd4696c73571204f15b033 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Fri, 23 Aug 2024 15:29:23 -0700 Subject: [PATCH] Pin hyprland in z790prors --- flake.nix | 1 + machines/z790prors/configuration.nix | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 122c594..b122540 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,7 @@ outputs = { self, nixpkgs, home-manager, ... } @ inputs: { nixosConfigurations.z790prors-nix = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; + specialArgs = { inherit inputs; }; modules = [ ./machines/z790prors/configuration.nix ]; }; diff --git a/machines/z790prors/configuration.nix b/machines/z790prors/configuration.nix index f1fc68e..a305480 100644 --- a/machines/z790prors/configuration.nix +++ b/machines/z790prors/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ inputs, config, pkgs, ... }: let kidsPackages = with pkgs; [ @@ -138,7 +138,10 @@ in #defaultSession = "plasmax11"; }; services.desktopManager.plasma6.enable = true; - programs.hyprland.enable = true; + programs.hyprland = { + enable = true; + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + }; programs.java.enable = true; programs.steam = {