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

56 lines
1.3 KiB
Nix
Raw Normal View History

2019-06-15 15:04:13 +02:00
{
config,
2022-03-10 21:52:12 +01:00
pkgs,
lib,
2022-03-10 21:52:12 +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
../../configs/default.nix
2024-03-19 20:31:02 +01:00
../../configs/networkmanager.nix
../../configs/power-action.nix
2019-06-15 17:50:02 +02:00
];
2019-06-15 15:04:13 +02:00
niveum = {
batteryName = "BAT0";
wirelessInterface = "wlp3s0";
promptColours.success = "cyan";
};
2022-07-19 22:00:36 +02:00
nix.settings = {
cores = 1;
max-jobs = 2;
};
age.secrets = {
2023-02-28 16:45:20 +01:00
retiolum-rsa = {
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 = {
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
};
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;
};
2024-06-03 07:27:01 +02:00
environment.systemPackages = [pkgs.zeroad];
2020-01-24 08:59:40 +01:00
networking = {
hostName = "kabsa";
2022-03-10 21:52:12 +01:00
wireless.interfaces = ["wlp3s0"];
retiolum = pkgs.lib.niveum.retiolumAddresses.kabsa;
};
2025-05-21 07:43:52 +02:00
system.stateVersion = "23.11";
2019-06-15 15:04:13 +02:00
}