Add disko

This commit is contained in:
Jakob Lechner 2024-05-31 16:06:46 +02:00
parent bb3db55a9c
commit eadff7c906
2 changed files with 29 additions and 0 deletions

21
flake.lock generated
View file

@ -1,5 +1,25 @@
{
"nodes": {
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1717097713,
"narHash": "sha256-M0tIapdiiB2piVTDK+aL7AnsjS656AY7l7htKN0dnQM=",
"owner": "nix-community",
"repo": "disko",
"rev": "9d5c673a6611b7bf448dbfb0843c75b9cce9cf1f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -274,6 +294,7 @@
},
"root": {
"inputs": {
"disko": "disko",
"flake-utils": "flake-utils",
"gomod2nix": "gomod2nix",
"home-manager": "home-manager",

View file

@ -29,6 +29,13 @@
};
};
disko = {
url = "github:nix-community/disko";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
gomod2nix = {
url = "github:nix-community/gomod2nix";
inputs = {
@ -181,6 +188,7 @@
{ nixpkgs.overlays = [ nur.overlay ]; }
home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
];
})
(import ./hosts inputs);