From 12c600edf1799cbc6a22a43d2b2da9af7ba36ea6 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 16 Apr 2024 03:20:40 -0400 Subject: [PATCH] flake: add disko --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 3 +++ 2 files changed, 24 insertions(+) diff --git a/flake.lock b/flake.lock index 10e4210..81b26c0 100644 --- a/flake.lock +++ b/flake.lock @@ -88,6 +88,26 @@ "type": "github" } }, + "disko": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1713204594, + "narHash": "sha256-5yyHYBWFZUKXkJvOccPBeX83hH2iED54NLnWs2eWgS0=", + "owner": "nix-community", + "repo": "disko", + "rev": "d51114dc1bf3cfaba2b6644aabd16ff0c9909af5", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "disko", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -313,6 +333,7 @@ "agenix": "agenix", "blank": "blank", "devshell": "devshell", + "disko": "disko", "flake-parts": "flake-parts", "flake-registry": "flake-registry", "flake-utils": "flake-utils", diff --git a/flake.nix b/flake.nix index 54eb47c..07938e2 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,7 @@ ### Nix Libraries agenix.url = "github:ryantm/agenix"; devshell.url = "github:numtide/devshell"; + disko.url = "github:nix-community/disko"; flake-parts.url = "github:hercules-ci/flake-parts"; flake-registry = { url = "github:NixOS/flake-registry"; flake = false; }; home-manager.url = "github:nix-community/home-manager"; @@ -33,6 +34,7 @@ ## Follow nixpkgs agenix.inputs.nixpkgs.follows = "nixpkgs"; devshell.inputs.nixpkgs.follows = "nixpkgs"; + disko.inputs.nixpkgs.follows = "nixpkgs"; flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nix-minecraft.inputs.nixpkgs.follows = "nixpkgs"; @@ -146,6 +148,7 @@ inputs.impermanence.nixosModules.impermanence inputs.home-manager.nixosModules.home-manager inputs.agenix.nixosModules.age + inputs.disko.nixosModules.disko # --- Domain-Specific Modules --- inputs.nix-minecraft.nixosModules.minecraft-servers