Split flake into multiple files

This commit is contained in:
Pim Kunis 2024-11-11 21:40:36 +01:00
parent 47c2a10ee7
commit d70a737bc2
9 changed files with 159 additions and 108 deletions

41
colmena.nix Normal file
View file

@ -0,0 +1,41 @@
inputs @ {
self,
nixpkgs,
...
}: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
specialArgs = {
inherit inputs self;
};
};
sue = {
deployment = {
allowLocalDeployment = true;
targetHost = null;
};
imports = [
(import ./machines).sue.module
./nixos
];
};
gamepc = {
deployment = {
targetHost = "gamepc";
targetUser = "root";
};
imports = [
(import ./machines).gamepc.module
./nixos
];
};
};
}