Add disko

This commit is contained in:
Jakob Lechner 2024-06-21 14:04:30 +02:00
parent af1c8a76ba
commit 001ebc9b1f
2 changed files with 25 additions and 0 deletions

21
flake.lock generated
View file

@ -1,5 +1,25 @@
{
"nodes": {
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1718846788,
"narHash": "sha256-9dtXYtEkmXoUJV+PGLqscqF7qTn4AIhAKpFWRFU2NYs=",
"owner": "nix-community",
"repo": "disko",
"rev": "e1174d991944a01eaaa04bc59c6281edca4c0e6e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -234,6 +254,7 @@
},
"root": {
"inputs": {
"disko": "disko",
"flake-utils": "flake-utils",
"krops": "krops",
"nix-pre-commit-hooks": "nix-pre-commit-hooks",

View file

@ -1,5 +1,8 @@
{
inputs = {
disko.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
flake-utils.url = "github:numtide/flake-utils";
nix-pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix/master";
@ -143,6 +146,7 @@
})
] ++ (with inputs; [
sops-nix.nixosModules.sops
disko.nixosModules.disko
]) ++ extraModules;
})
(import ./machines inputs);