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; } ];