From 6e4d4da07b340e03ca5b606b72f8eef303542e89 Mon Sep 17 00:00:00 2001 From: Julian Sutter Date: Sun, 22 Dec 2024 10:42:58 -0800 Subject: [PATCH] converting to pure --- flake.lock | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 6 ++++- 2 files changed, 70 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index f69eeed..c685c17 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,26 @@ { "nodes": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "nur", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -51,6 +72,28 @@ "type": "indirect" } }, + "nur": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs" + ], + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1734886106, + "narHash": "sha256-VZ9+3lmSGEmW8jQ9KrE+Ah+BHt0FyAIk/PVjtGWnkws=", + "owner": "nix-community", + "repo": "NUR", + "rev": "2e1c9f679ee2a3db7905afe2a6a748a356ea5497", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "plasma-manager": { "inputs": { "home-manager": [ @@ -79,8 +122,30 @@ "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", + "nur": "nur", "plasma-manager": "plasma-manager" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nur", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733222881, + "narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "49717b5af6f80172275d47a418c9719a31a78b53", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index e4f1e96..3b2fb8b 100755 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,10 @@ url = github:nix-community/home-manager; inputs.nixpkgs.follows = "nixpkgs"; }; + nur = { + url = "github:nix-community/NUR"; + inputs.nixpkgs.follows = "nixpkgs"; + }; plasma-manager = { url = "github:nix-community/plasma-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -15,7 +19,7 @@ }; }; - outputs = { self, nixpkgs, home-manager, plasma-manager, nixos-hardware }: { + outputs = { self, nixpkgs, nixos-hardware, home-manager, nur, plasma-manager }: { nixosConfigurations = { framework = nixpkgs.lib.nixosSystem {