From 8fd2af8241397e26705eda59391134aea58a7b96 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 18 Nov 2022 14:22:59 +0300 Subject: [PATCH] machines/home: add gpu hardware module --- flake.lock | 6 +++--- flake.nix | 2 +- machines/default.nix | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 6de0cc8..90dc690 100644 --- a/flake.lock +++ b/flake.lock @@ -159,11 +159,11 @@ }, "hardware": { "locked": { - "lastModified": 1663229557, - "narHash": "sha256-1uU4nsDLXKG0AHc/VCsNBAEPkTA/07juYhcEWRb1O1E=", + "lastModified": 1668334946, + "narHash": "sha256-omMbUj4r5DVBWh7KxkoO/Z/1V1shVR6Ls4jXNB4mr3U=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "a0df6cd6e199df4a78c833c273781ea92fa62cfb", + "rev": "e0452b33ab0ef16ffe075e980644ed92a6a200bb", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index ff34df9..742495b 100644 --- a/flake.nix +++ b/flake.nix @@ -48,7 +48,7 @@ }; }; - outputs = inputs @ { self, flake-utils, nixpkgs, hardware, ... }: + outputs = inputs @ { self, flake-utils, nixpkgs, ... }: flake-utils.lib.eachDefaultSystem (system: let diff --git a/machines/default.nix b/machines/default.nix index 14886ff..086abe1 100644 --- a/machines/default.nix +++ b/machines/default.nix @@ -8,6 +8,7 @@ in system = "x86_64-linux"; extraModules = [ + hardware.common-gpu-amd ../users/jan ../users/nas ];