40 lines
690 B
Nix
40 lines
690 B
Nix
{ config, self, lib, pkgs, inputs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
networking = {
|
|
hostName = mkDefault "durruti";
|
|
useDHCP = false;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 8080 ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
go
|
|
gcc
|
|
tmux
|
|
];
|
|
|
|
imports = [
|
|
self.nixosModules.malobeo.metrics
|
|
inputs.tasklist.nixosModules.malobeo-tasklist
|
|
|
|
../modules/malobeo_user.nix
|
|
../modules/sshd.nix
|
|
../modules/minimal_tools.nix
|
|
];
|
|
|
|
malobeo.metrics = {
|
|
enable = true;
|
|
enablePromtail = true;
|
|
logNginx = true;
|
|
lokiHost = "10.0.0.14";
|
|
};
|
|
|
|
services.malobeo-tasklist.enable = true;
|
|
|
|
system.stateVersion = "22.11"; # Did you read the comment?
|
|
}
|
|
|