From c225c06ab661f5c2fbc34b2eafc0b68001305846 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 22 Jan 2025 12:22:50 +0900 Subject: nix: introduce `flake-utils` --- flake.lock | 34 ++++++++++++++++++++++++++++++++++ flake.nix | 3 +++ 2 files changed, 37 insertions(+) diff --git a/flake.lock b/flake.lock index 49ee117..f31fb52 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,23 @@ { "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -39,9 +57,25 @@ }, "root": { "inputs": { + "flake-utils": "flake-utils", "home-manager": "home-manager", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index d6dc789..81ff32f 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,8 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + home-manager = { url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; @@ -20,6 +22,7 @@ outputs = { nixpkgs, + flake-utils, home-manager, ... }: -- cgit v1.2.3-70-g09d2