Simplify build-related config
This commit is contained in:
parent
104d995dd2
commit
433930bde6
4 changed files with 39 additions and 23 deletions
14
colmena/local.nix
Normal file
14
colmena/local.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ name, nodes, config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
deployment = {
|
||||
allowLocalDeployment = true;
|
||||
targetHost = null;
|
||||
tags = [ "local" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
colmena
|
||||
npins
|
||||
];
|
||||
}
|
12
colmena/remote.nix
Normal file
12
colmena/remote.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ name, nodes, config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
deployment = {
|
||||
targetHost = "${name}.birdsong.network";
|
||||
tags = [ "remote" ];
|
||||
};
|
||||
|
||||
imports = [
|
||||
../services/openssh.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue