Add disko as a flake input
This commit is contained in:
parent
e738ada247
commit
b6767bcd16
4 changed files with 29 additions and 8 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -143,6 +143,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"disko": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1753140376,
|
||||||
|
"narHash": "sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb+mYCodI5uuB8=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"rev": "545aba02960caa78a31bd9a8709a0ad4b6320a5c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"docker-compose-1": {
|
"docker-compose-1": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1624397714,
|
"lastModified": 1624397714,
|
||||||
|
|
@ -856,6 +876,7 @@
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"agenix-rekey": "agenix-rekey",
|
"agenix-rekey": "agenix-rekey",
|
||||||
"darwin": "darwin_2",
|
"darwin": "darwin_2",
|
||||||
|
"disko": "disko",
|
||||||
"docker-compose-1": "docker-compose-1",
|
"docker-compose-1": "docker-compose-1",
|
||||||
"grub2-themes": "grub2-themes",
|
"grub2-themes": "grub2-themes",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@
|
||||||
systems.hosts = with inputs; {
|
systems.hosts = with inputs; {
|
||||||
cobalt.modules = [
|
cobalt.modules = [
|
||||||
grub2-themes.nixosModules.default
|
grub2-themes.nixosModules.default
|
||||||
|
disko.nixosModules.default
|
||||||
|
];
|
||||||
|
mercury.modules = [
|
||||||
|
disko.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -71,6 +75,10 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Disk management via Nix
|
||||||
|
disko.url = "github:nix-community/disko";
|
||||||
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
agenix.url = "github:ryantm/agenix";
|
agenix.url = "github:ryantm/agenix";
|
||||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
agenix-rekey.url = "github:oddlama/agenix-rekey";
|
agenix-rekey.url = "github:oddlama/agenix-rekey";
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,6 @@
|
||||||
with lib._elements; {
|
with lib._elements; {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
"${builtins.fetchTarball {
|
|
||||||
url = "https://github.com/nix-community/disko/archive/master.tar.gz";
|
|
||||||
sha256 = "0mzm7digdksivdhikxvrx6l0j2b9lj167ndcimsy9i24k4b91wsk";
|
|
||||||
}}/module.nix"
|
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
./beszel-agent.nix
|
./beszel-agent.nix
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,6 @@
|
||||||
with lib._elements; {
|
with lib._elements; {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
"${builtins.fetchTarball {
|
|
||||||
url = "https://github.com/nix-community/disko/archive/master.tar.gz";
|
|
||||||
sha256 = "0acvrmfhk86glp59dphbrp9xwcxd8r3zpn18760nzs4930nhhsi3";
|
|
||||||
}}/module.nix"
|
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue