mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
61 lines
1.4 KiB
Nix
61 lines
1.4 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: 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 = ../../secrets/kabsa-retiolum-privateKey-rsa.age;
|
|
mode = "400";
|
|
owner = "tinc.retiolum";
|
|
group = "tinc.retiolum";
|
|
};
|
|
retiolum-ed25519 = {
|
|
file = ../../secrets/kabsa-retiolum-privateKey-ed25519.age;
|
|
mode = "400";
|
|
owner = "tinc.retiolum";
|
|
group = "tinc.retiolum";
|
|
};
|
|
restic.file = ../../secrets/restic.age;
|
|
syncthing-cert.file = ../../secrets/kabsa-syncthing-cert.age;
|
|
syncthing-key.file = ../../secrets/kabsa-syncthing-key.age;
|
|
specus.file = ../../secrets/kabsa-specus-privateKey.age;
|
|
};
|
|
|
|
environment.systemPackages = [pkgs.minecraft pkgs.zeroad];
|
|
|
|
services.specus = {
|
|
privateKeyFile = config.age.secrets.specus.path;
|
|
client.enable = false;
|
|
};
|
|
|
|
networking = {
|
|
hostName = "kabsa";
|
|
wireless.interfaces = ["wlp3s0"];
|
|
retiolum = retiolumAddresses.kabsa;
|
|
};
|
|
|
|
system.stateVersion = "19.03";
|
|
}
|