blob: 7fe80560ffa10ea8b93c2457a587e12c8bffa0d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
inputs.disko.url = "github:nix-community/disko";
inputs.disko.inputs.nixpkgs.follows = "nixpkgs";
outputs = {
nixpkgs,
disko,
...
}: let
imports = [
disko.nixosModules.disko
./hosts/puppy.nix
];
in {
devShells.x86_64-linux.default = let
pkgs = import nixpkgs {system = "x86_64-linux";};
in
pkgs.mkShell {
buildInputs = [pkgs.colmena];
};
nixosConfigurations.puppy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = imports;
};
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
puppy = {...}: {
inherit imports;
};
};
};
}
|