Files
dotfiles/hosts/marisa/services/default.nix
2025-09-04 15:32:44 +05:30

36 lines
552 B
Nix

{ config, ... }:
{
imports = [
# ./hashicorp.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
'';
};
};
}