Files
dotfiles/hosts/marisa/services/default.nix
Amneesh Singh ed71d6459c fmt
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-02-25 17:16:10 +05:30

36 lines
562 B
Nix

{ config, ... }:
{
imports = [
# ./hashicorp.nix
./filehost.nix
./gitea.nix
];
# Add secrets to nomad, consul and vault
virtualisation.docker = {
enable = true;
daemon.settings = {
# default-cgroupns-mode = "host";
};
};
services = {
openssh = {
enable = true;
ports = [ 22 22001 ];
};
postgresql = {
enable = true;
authentication = ''
local gitea all ident map=gitea-map
'';
identMap =
''
gitea-map gitea gitea
'';
};
};
}