1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/systems/toum/configuration.nix

61 lines
1.4 KiB
Nix
Raw Normal View History

2019-04-20 09:08:39 +02:00
{ config, pkgs, lib, ... }:
2019-01-31 23:39:38 +01:00
let
inherit (import <niveum/lib>) kieran;
2019-01-31 23:39:38 +01:00
in {
2019-01-30 13:56:34 +01:00
imports = [
./hardware-configuration.nix
./telegram-bots
2020-11-01 09:45:15 +01:00
<niveum/configs/hass>
2019-10-26 13:43:30 +02:00
<niveum/configs/distrobump.nix>
2020-10-28 20:25:59 +01:00
<niveum/configs/spacetime.nix>
<niveum/configs/sshd.nix>
<niveum/configs/moodle-dl.nix>
2019-10-26 13:43:30 +02:00
<niveum/configs/save-space.nix>
<niveum/configs/wifi.nix>
2019-10-26 13:43:30 +02:00
<niveum/configs/tmux.nix>
2019-11-30 13:38:56 +01:00
<niveum/configs/version.nix>
2020-07-11 20:42:04 +02:00
<niveum/configs/traadfri.nix>
2020-11-01 09:44:50 +01:00
<niveum/configs/matterbridge.nix>
2019-10-26 13:43:30 +02:00
<niveum/modules/retiolum.nix>
<niveum/modules/telegram-bot.nix>
{
services.rss-bridge.enable = true;
}
2020-10-18 14:02:14 +02:00
{
services.weechat.enable = true;
users.extraUsers.weechat = {
useDefaultShell = true;
openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
};
2020-10-28 11:35:09 +01:00
}
2019-06-05 19:36:29 +02:00
];
2019-06-01 22:13:58 +02:00
nix.nixPath = [ "/var/src" ];
2019-01-30 11:48:35 +00:00
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
2020-10-18 14:02:14 +02:00
networking.hostName = "toum";
2019-01-30 13:56:34 +01:00
2019-01-30 16:46:07 +01:00
environment.variables.TERM = "linux";
2019-01-30 15:44:00 +01:00
2020-10-18 14:02:14 +02:00
environment.systemPackages = with pkgs; [
git vim htop wget reptyr
raspberrypi-tools
];
2019-01-30 16:12:14 +01:00
2019-01-31 23:39:38 +01:00
users.mutableUsers = false;
2019-02-05 20:21:51 +01:00
networking.retiolum = {
ipv4 = "10.243.2.3";
ipv6 = "42:0:3c46:56af:d12b:affd:8390:df22";
2019-02-05 20:21:51 +01:00
};
environment.etc."tinc/retiolum/rsa_key.priv" = {
2020-10-06 23:21:04 +02:00
text = builtins.readFile <system-secrets/retiolum.key>;
2019-02-05 20:21:51 +01:00
mode = "400";
};
2020-10-18 14:02:14 +02:00
system.stateVersion = "20.03";
2019-01-30 11:48:35 +00:00
}