mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
47 lines
1.0 KiB
Nix
47 lines
1.0 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
let
|
|
inherit (import <niveum/lib>) kieran;
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
# <niveum/configs/hass>
|
|
<niveum/configs/distrobump.nix>
|
|
<niveum/configs/spacetime.nix>
|
|
<niveum/configs/sshd.nix>
|
|
<niveum/configs/save-space.nix>
|
|
<niveum/configs/tmux.nix>
|
|
<niveum/configs/version.nix>
|
|
<niveum/configs/traadfri.nix>
|
|
<niveum/configs/wpa_supplicant.nix>
|
|
<niveum/modules/retiolum.nix>
|
|
];
|
|
|
|
nix.nixPath = [ "/var/src" ];
|
|
|
|
boot.loader.grub.enable = false;
|
|
boot.loader.generic-extlinux-compatible.enable = true;
|
|
|
|
networking.hostName = "toum";
|
|
|
|
environment.variables.TERM = "linux";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git vim htop wget reptyr
|
|
libraspberrypi
|
|
];
|
|
|
|
users.mutableUsers = false;
|
|
|
|
networking.retiolum = {
|
|
ipv4 = "10.243.2.3";
|
|
ipv6 = "42:0:3c46:56af:d12b:affd:8390:df22";
|
|
};
|
|
|
|
environment.etc."tinc/retiolum/rsa_key.priv" = {
|
|
text = builtins.readFile <system-secrets/retiolum.key>;
|
|
mode = "400";
|
|
};
|
|
|
|
system.stateVersion = "20.03";
|
|
}
|