forked from Fediversity/Fediversity
use revamped data model
This commit is contained in:
parent
7906e9fc92
commit
824676b2e7
4 changed files with 38 additions and 0 deletions
9
deployment/applications/default.nix
Normal file
9
deployment/applications/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
_class = "fediversity";
|
||||||
|
|
||||||
|
config = {
|
||||||
|
applications = {
|
||||||
|
# mastodon.module = import ./mastodon.nix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
10
deployment/providers/default.nix
Normal file
10
deployment/providers/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
_class = "fediversity";
|
||||||
|
|
||||||
|
config = {
|
||||||
|
providers = {
|
||||||
|
qemu = import ./qemu.nix;
|
||||||
|
ssh-host = import ./ssh-host.nix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
11
deployment/providers/qemu.nix
Normal file
11
deployment/providers/qemu.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
_class = "nixos";
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
"${modulesPath}/profiles/qemu-guest.nix"
|
||||||
|
];
|
||||||
|
}
|
8
deployment/providers/ssh-host.nix
Normal file
8
deployment/providers/ssh-host.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
_class = "nixos";
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings.PasswordAuthentication = false;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue