nix-config/hosts/mucbot/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
903 B
Nix
Raw Normal View History

{ zentralwerk, config, pkgs, lib, tigger, ... }:
2019-04-07 00:58:42 +02:00
2021-03-22 16:22:57 +01:00
{
2022-06-16 21:36:52 +02:00
c3d2.deployment = {
server = "nomad";
2022-07-07 01:21:39 +02:00
mounts = [];
mountBase = "/glusterfs/fast/microvms/${config.networking.hostName}";
2022-06-16 21:36:52 +02:00
};
2019-04-07 00:58:42 +02:00
networking.hostName = "mucbot";
2020-03-09 23:30:48 +01:00
users.users.tigger = {
createHome = true;
2020-03-09 23:37:19 +01:00
isNormalUser = true;
2020-03-09 23:30:48 +01:00
group = "tigger";
};
2021-02-22 11:45:12 +01:00
users.groups.tigger = { };
2019-04-07 00:58:42 +02:00
services.tigger = {
enable = true;
2020-03-09 23:30:48 +01:00
user = "tigger";
group = "tigger";
2021-10-31 19:00:03 +01:00
inherit (pkgs.mucbot) jid;
inherit (pkgs.mucbot) password;
2021-02-22 11:45:12 +01:00
mucs =
[ "c3d2@chat.c3d2.de/Astrobot" "international@chat.c3d2.de/Astrobot" ];
2019-04-07 00:58:42 +02:00
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "18.09"; # Did you read the comment?
}