From 5d63a6463dc34f0758e1198844ba592cd43fca15 Mon Sep 17 00:00:00 2001 From: quinm0 Date: Sun, 5 Apr 2026 20:58:38 -0400 Subject: [PATCH] fix import thing --- flake.lock | 34 ++++++++++++++++++++++++++++++++++ flake.nix | 6 +++--- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 840ac04..ad2904f 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1775087534, + "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -53,8 +71,24 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1774748309, + "narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "333c4e0545a6da976206c74db8773a1645b5870a", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "root": { "inputs": { + "flake-parts": "flake-parts", "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs" diff --git a/flake.nix b/flake.nix index 93b1ce7..34c0e68 100644 --- a/flake.nix +++ b/flake.nix @@ -12,13 +12,13 @@ }; }; - outputs = inputs@{ flake-parts, nixos-hardware, lib, ... }: + outputs = inputs@{ flake-parts, nixos-hardware, nixpkgs, ... }: # https://flake.parts/module-arguments.html flake-parts.lib.mkFlake { inherit inputs; } (top@{ config, withSystem, moduleWithSystem, ... }: { imports = [ ]; flake = { - nixosConfigurations.qmoran-laptop = lib.nixosSystem { + nixosConfigurations.qmoran-laptop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./nix/qlhc.nix @@ -29,7 +29,7 @@ nixos-hardware.nixosModules.framework-11th-gen-intel ]; }; - nixosConfigurations.qmoran-desktop = lib.nixosSystem { + nixosConfigurations.qmoran-desktop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./nix/qdhc.nix