nix-config/hosts/mucbot/default.nix

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

31 lines
817 B
Nix
Raw Normal View History

2022-12-04 08:53:28 +01:00
{ pkgs, tigger, ... }:
2019-04-07 00:58:42 +02:00
2021-03-22 16:22:57 +01:00
{
2022-11-02 23:37:01 +01:00
deployment = {
# needs to keep just its ssh key for sops-nix
2022-11-02 23:37:01 +01:00
persistedShares = [ "/etc" "/var" ];
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";
2022-07-31 17:54:49 +02:00
inherit (pkgs.mucbot) jid password;
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?
}