add disko

This commit is contained in:
Cyryl Płotnicki 2023-04-01 10:17:50 +01:00
parent 5f548183bd
commit 5d4acc70e0
2 changed files with 27 additions and 2 deletions

View file

@ -76,6 +76,26 @@
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs-stable"
]
},
"locked": {
"lastModified": 1680146283,
"narHash": "sha256-YZSw3O6uv6NqOJP+dol/njmzblRFIsrmqqb0HsL4mcQ=",
"owner": "nix-community",
"repo": "disko",
"rev": "4d9c89abde7ccedf743a01119d41fb880793bcba",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"dream2nix": {
"inputs": {
"alejandra": [
@ -434,6 +454,7 @@
"inputs": {
"alejandra": "alejandra",
"darwin": "darwin",
"disko": "disko",
"endless-sky": "endless-sky",
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",

View file

@ -3,7 +3,7 @@
outputs = { self, flake-utils, flake-compat, home-manager
, nixpkgs-nixos-unstable, nixpkgs-master, nixpkgs-stable, darwin
, nixos-hardware, nur, sops, nil, helix, alejandra, nixpkgs-rust-analyzer
, endless-sky }@inputs:
, endless-sky, disko }@inputs:
let
mkServer = pkgs: system: hostname:
pkgs.lib.nixosSystem {
@ -61,7 +61,7 @@
(import ./nixos/email-accounts.nix)
(import ./nixos/common.nix)
sops.nixosModules.sops
disko.nixosModules.disko
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
@ -291,6 +291,10 @@
ref = "main";
inputs.nixpkgs.follows = "nixpkgs-nixos-unstable";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;