From 68beae0c9a4ec93d5307198db1cc35d08e2616aa Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 27 May 2022 13:20:45 -0400 Subject: [PATCH] 21.11 -> 22.05 --- flake.lock | 8 ++++---- flake.nix | 2 +- lib/hardware.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 5150da4..788587c 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1651743098, - "narHash": "sha256-NuQNu6yHh54li0kZffM59FRC5bWCJusygL4Cy+3O0fY=", + "lastModified": 1653504306, + "narHash": "sha256-bqjEskV+/tqOQqSEaCu4e6uWZ0F7ekBiMR16xpn4V0k=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d4191fe35cbe52f755ef73009d4d37b9e002efa2", + "rev": "6efc186e6079ff3f328a2497ff3d36741ac60f6e", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-21.11", + "ref": "nixos-22.05", "type": "indirect" } }, diff --git a/flake.nix b/flake.nix index ee5bfd5..2c29d98 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - inputs.nixpkgs.url = "nixpkgs/nixos-21.11"; + inputs.nixpkgs.url = "nixpkgs/nixos-22.05"; outputs = { self, nixpkgs, ... }: let diff --git a/lib/hardware.nix b/lib/hardware.nix index 0ba976a..3eb3780 100644 --- a/lib/hardware.nix +++ b/lib/hardware.nix @@ -6,9 +6,9 @@ { hardware.enableRedistributableFirmware = true; } ]; - qemu = { lib, modulesPath, ... }: lib.mkMerge + qemu = { config, lib, modulesPath, ... }: lib.mkMerge [ - (import "${modulesPath}/profiles/qemu-guest.nix" { }) + (import "${modulesPath}/profiles/qemu-guest.nix" { inherit config lib; }) { services.qemuGuest.enable = true; } ];