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
|
|
|
...
|
|
|
|
|
}: let
|
2023-02-22 10:02:55 +01:00
|
|
|
inherit (import ../../lib) retiolumAddresses;
|
2022-03-10 21:52:12 +01:00
|
|
|
in {
|
2019-06-15 17:50:02 +02:00
|
|
|
imports = [
|
2021-12-29 18:49:51 +01:00
|
|
|
./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";
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-17 21:41:05 +01:00
|
|
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
|
|
|
|
|
|
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;
|
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"];
|
2021-12-29 18:49:51 +01:00
|
|
|
retiolum = retiolumAddresses.kabsa;
|
2019-09-24 16:46:43 +02:00
|
|
|
};
|
|
|
|
|
|
2019-11-05 21:58:49 +01:00
|
|
|
system.stateVersion = "19.03";
|
2019-06-15 15:04:13 +02:00
|
|
|
}
|