mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: adds disko and hazel host
This commit is contained in:
parent
b3e155851f
commit
efb7abb67e
2 changed files with 83 additions and 35 deletions
12
flake.nix
12
flake.nix
|
|
@ -15,6 +15,7 @@
|
|||
nixos-hardware.url = "github:nixos/nixos-hardware";
|
||||
nixvim.url = "github:ahwxorg/nixvim-config";
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
disko.url = "github:nix-community/disko/latest";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -22,6 +23,7 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
sops-nix,
|
||||
disko,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
|
|
@ -116,6 +118,16 @@
|
|||
inherit self inputs username;
|
||||
};
|
||||
};
|
||||
hazel = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
(import ./hosts/hazel)
|
||||
];
|
||||
specialArgs = {
|
||||
host = "hazel";
|
||||
inherit self inputs username;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue