mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (import ../../lib) retiolumAddresses;
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../configs/battery.nix
|
|
../../configs/default.nix
|
|
../../configs/networkmanager.nix # TODO how to get passwords into there?
|
|
];
|
|
|
|
niveum = {
|
|
batteryName = "BAT0";
|
|
wirelessInterface = "wlp3s0";
|
|
promptColours.success = "cyan";
|
|
};
|
|
|
|
nix.settings = {
|
|
cores = 1;
|
|
max-jobs = 2;
|
|
};
|
|
|
|
age.secrets = {
|
|
retiolum-rsa = {
|
|
file = inputs.secrets + "/kabsa-retiolum-privateKey-rsa.age";
|
|
mode = "400";
|
|
owner = "tinc.retiolum";
|
|
group = "tinc.retiolum";
|
|
};
|
|
retiolum-ed25519 = {
|
|
file = inputs.secrets + "/kabsa-retiolum-privateKey-ed25519.age";
|
|
mode = "400";
|
|
owner = "tinc.retiolum";
|
|
group = "tinc.retiolum";
|
|
};
|
|
restic.file = inputs.secrets + "/restic.age";
|
|
syncthing-cert.file = inputs.secrets + "/kabsa-syncthing-cert.age";
|
|
syncthing-key.file = inputs.secrets + "/kabsa-syncthing-key.age";
|
|
};
|
|
|
|
environment.systemPackages = [pkgs.minecraft pkgs.zeroad];
|
|
|
|
networking = {
|
|
hostName = "kabsa";
|
|
wireless.interfaces = ["wlp3s0"];
|
|
retiolum = retiolumAddresses.kabsa;
|
|
};
|
|
|
|
system.stateVersion = "19.03";
|
|
}
|