Split flake into multiple files
This commit is contained in:
parent
47c2a10ee7
commit
d70a737bc2
9 changed files with 159 additions and 108 deletions
41
colmena.nix
Normal file
41
colmena.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue