forked from kalipso/infrastructure
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
boot.isContainer = true;
|
|
networking = {
|
|
hostName = mkDefault "durruti";
|
|
useDHCP = false;
|
|
nameservers = [ "1.1.1.1" ];
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 8080 ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
go
|
|
gcc
|
|
tmux
|
|
];
|
|
|
|
imports = [
|
|
inputs.ep3-bs.nixosModules.ep3-bs
|
|
inputs.tasklist.nixosModules.malobeo-tasklist
|
|
../modules/malobeo_user.nix
|
|
../modules/sshd.nix
|
|
../modules/minimal_tools.nix
|
|
];
|
|
|
|
services.malobeo-tasklist.enable = true;
|
|
|
|
services.ep3-bs = {
|
|
enable = true;
|
|
in_production = true;
|
|
favicon = ./circle-a.png;
|
|
logo = ./malobeo.png;
|
|
|
|
mail = {
|
|
type = "smtp-tls";
|
|
address = "dynamicdiscorddresden@systemli.org";
|
|
host = "mail.systemli.org";
|
|
user = "dynamicdiscorddresden@systemli.org";
|
|
password = "E4XaTzv5hi0ClsMRtzy58uQ6D";
|
|
auth = "plain";
|
|
};
|
|
|
|
|
|
database = {
|
|
user = "malodbuser";
|
|
password = "aAljwdlaKQWhdakwLHdalkhwdhalaWLKhdaoiu";
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "22.11"; # Did you read the comment?
|
|
}
|
|
|