forked from fi/nix-infra
pterodactyl
This commit is contained in:
parent
7565b0148b
commit
2029ebd5be
3 changed files with 82 additions and 18 deletions
13
config/hosts/pterodactyl/configuration.nix
Normal file
13
config/hosts/pterodactyl/configuration.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "pterodactyl";
|
||||
};
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
7
config/hosts/pterodactyl/default.nix
Normal file
7
config/hosts/pterodactyl/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./pterodactyl.nix
|
||||
];
|
||||
}
|
||||
6
config/hosts/pterodactyl/pterodactyl.nix
Normal file
6
config/hosts/pterodactyl/pterodactyl.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.pterodactyl-wings = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue