2019-06-15 15:04:13 +02:00
|
|
|
{
|
2023-07-04 16:28:26 +02:00
|
|
|
config,
|
2022-03-10 21:52:12 +01:00
|
|
|
pkgs,
|
2023-07-04 16:28:26 +02:00
|
|
|
lib,
|
2022-03-10 21:52:12 +01:00
|
|
|
...
|
2025-12-25 14:00:03 +01:00
|
|
|
}: {
|
2019-06-15 17:50:02 +02:00
|
|
|
imports = [
|
2025-05-21 07:43:52 +02:00
|
|
|
../kibbeh/hardware-configuration.nix
|
2024-03-19 20:31:02 +01:00
|
|
|
../../configs/tlp.nix
|
2023-02-22 10:02:55 +01:00
|
|
|
../../configs/default.nix
|
2024-03-19 20:31:02 +01:00
|
|
|
../../configs/networkmanager.nix
|
2024-03-20 17:44:15 +01:00
|
|
|
../../configs/power-action.nix
|
2019-06-15 17:50:02 +02:00
|
|
|
];
|
2019-06-15 15:04:13 +02:00
|
|
|
|
2019-06-17 19:11:31 +02:00
|
|
|
niveum = {
|
2020-10-30 11:05:26 +01:00
|
|
|
batteryName = "BAT0";
|
|
|
|
|
wirelessInterface = "wlp3s0";
|
2019-06-17 19:11:31 +02:00
|
|
|
promptColours.success = "cyan";
|
|
|
|
|
};
|
|
|
|
|
|
2022-07-19 22:00:36 +02:00
|
|
|
nix.settings = {
|
|
|
|
|
cores = 1;
|
|
|
|
|
max-jobs = 2;
|
2021-12-29 18:49:51 +01:00
|
|
|
};
|
2020-10-28 11:37:06 +01:00
|
|
|
|
2023-02-22 10:02:55 +01:00
|
|
|
age.secrets = {
|
2023-02-28 16:45:20 +01:00
|
|
|
retiolum-rsa = {
|
2023-07-04 16:28:26 +02:00
|
|
|
file = ../../secrets/kabsa-retiolum-privateKey-rsa.age;
|
2023-02-28 16:45:20 +01:00
|
|
|
mode = "400";
|
2024-06-03 07:27:01 +02:00
|
|
|
owner = "tinc-retiolum";
|
|
|
|
|
group = "tinc-retiolum";
|
2023-02-28 16:45:20 +01:00
|
|
|
};
|
|
|
|
|
retiolum-ed25519 = {
|
2023-07-04 16:28:26 +02:00
|
|
|
file = ../../secrets/kabsa-retiolum-privateKey-ed25519.age;
|
2023-02-28 16:45:20 +01:00
|
|
|
mode = "400";
|
2024-06-03 07:27:01 +02:00
|
|
|
owner = "tinc-retiolum";
|
|
|
|
|
group = "tinc-retiolum";
|
2023-02-28 16:45:20 +01:00
|
|
|
};
|
2023-07-04 16:28:26 +02:00
|
|
|
restic.file = ../../secrets/restic.age;
|
|
|
|
|
syncthing-cert.file = ../../secrets/kabsa-syncthing-cert.age;
|
|
|
|
|
syncthing-key.file = ../../secrets/kabsa-syncthing-key.age;
|
2024-09-23 19:19:14 +02:00
|
|
|
wireguard-aether-key.file = ../../secrets/kabsa-wireguard-aether-key.age;
|
|
|
|
|
wireguard-aether-psk.file = ../../secrets/kabsa-wireguard-aether-psk.age;
|
2023-02-22 10:02:55 +01:00
|
|
|
};
|
|
|
|
|
|
2024-06-03 07:27:01 +02:00
|
|
|
environment.systemPackages = [pkgs.zeroad];
|
2020-01-24 08:59:40 +01:00
|
|
|
|
2021-12-29 18:49:51 +01:00
|
|
|
networking = {
|
|
|
|
|
hostName = "kabsa";
|
2022-03-10 21:52:12 +01:00
|
|
|
wireless.interfaces = ["wlp3s0"];
|
2025-12-25 14:00:03 +01:00
|
|
|
retiolum = pkgs.lib.niveum.retiolumAddresses.kabsa;
|
2019-09-24 16:46:43 +02:00
|
|
|
};
|
|
|
|
|
|
2025-05-21 07:43:52 +02:00
|
|
|
system.stateVersion = "23.11";
|
2019-06-15 15:04:13 +02:00
|
|
|
}
|