playit.gg: init
This commit is contained in:
parent
0ae65af2a3
commit
09c5f8e6a8
6 changed files with 119 additions and 11 deletions
16
modules/nixos/services/gameserver/playit.nix
Normal file
16
modules/nixos/services/gameserver/playit.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ inputs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.playit.nixosModules.default ];
|
||||
nix.settings = {
|
||||
trusted-substituters = [ "https://playit-nixos-module.cachix.org" ];
|
||||
trusted-public-keys = [ "playit-nixos-module.cachix.org-1:22hBXWXBbd/7o1cOnh+p0hpFUVk9lPdRLX3p5YSfRz4=" ];
|
||||
};
|
||||
|
||||
sops.secrets."playit/playit.toml" = {};
|
||||
|
||||
services.playit = {
|
||||
enable = true;
|
||||
secretPath = config.sops.secrets."playit/playit.toml".path;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue