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

47 lines
1.0 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
2021-02-01 14:44:26 +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>
2019-10-26 13:43:30 +02:00
<niveum/configs/save-space.nix>
<niveum/configs/tmux.nix>
2019-11-30 13:38:56 +01:00
<niveum/configs/version.nix>
2021-06-03 09:14:36 +02:00
<niveum/configs/traadfri.nix>
<niveum/configs/wpa_supplicant.nix>
2019-10-26 13:43:30 +02:00
<niveum/modules/retiolum.nix>
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
2021-06-01 19:14:00 +02:00
libraspberrypi
2020-10-18 14:02:14 +02:00
];
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
}