2023-07-04 16:28:26 +02:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
2024-03-20 15:13:04 +01:00
|
|
|
lib,
|
2023-07-04 16:28:26 +02:00
|
|
|
...
|
2025-12-28 13:39:42 +01:00
|
|
|
}:
|
|
|
|
|
{
|
2022-03-10 21:52:12 +01:00
|
|
|
imports = [
|
|
|
|
|
# Include the results of the hardware scan.
|
2020-11-05 21:28:23 +01:00
|
|
|
./hardware-configuration.nix
|
2021-12-29 18:49:51 +01:00
|
|
|
./hdmi.nix
|
2023-02-22 10:02:55 +01:00
|
|
|
../../configs/default.nix
|
2024-03-19 20:31:02 +01:00
|
|
|
../../configs/tlp.nix
|
2025-03-05 14:28:05 +01:00
|
|
|
../../configs/networkmanager.nix
|
2024-03-20 17:44:15 +01:00
|
|
|
../../configs/power-action.nix
|
2020-11-05 21:28:23 +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/manakish-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/manakish-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
|
|
|
syncthing-cert.file = ../../secrets/manakish-syncthing-cert.age;
|
|
|
|
|
syncthing-key.file = ../../secrets/manakish-syncthing-key.age;
|
2024-09-23 19:19:14 +02:00
|
|
|
wireguard-aether-key.file = ../../secrets/manakish-wireguard-aether-key.age;
|
|
|
|
|
wireguard-aether-psk.file = ../../secrets/manakish-wireguard-aether-psk.age;
|
2023-02-22 10:02:55 +01:00
|
|
|
};
|
|
|
|
|
|
2020-11-05 21:28:23 +01:00
|
|
|
niveum = {
|
|
|
|
|
batteryName = "BAT0";
|
|
|
|
|
wirelessInterface = "wlp3s0";
|
2021-04-17 09:27:49 +02:00
|
|
|
promptColours.success = "green";
|
2020-11-05 21:28:23 +01:00
|
|
|
};
|
|
|
|
|
|
2021-12-29 18:49:51 +01:00
|
|
|
networking = {
|
|
|
|
|
useDHCP = false;
|
|
|
|
|
interfaces = {
|
|
|
|
|
enp0s25.useDHCP = true;
|
|
|
|
|
wlp3s0.useDHCP = true;
|
|
|
|
|
wwp0s20u4i6.useDHCP = true;
|
|
|
|
|
};
|
2025-12-28 13:39:42 +01:00
|
|
|
wireless.interfaces = [ "wlp3s0" ];
|
2025-12-25 14:00:03 +01:00
|
|
|
retiolum = pkgs.lib.niveum.retiolumAddresses.manakish;
|
2021-12-31 15:56:20 +01:00
|
|
|
hostName = "manakish";
|
2020-11-05 21:28:23 +01:00
|
|
|
};
|
|
|
|
|
|
2024-03-20 15:13:04 +01:00
|
|
|
systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false;
|
|
|
|
|
|
2020-11-05 21:28:23 +01:00
|
|
|
system.stateVersion = "20.09"; # Did you read the comment?
|
|
|
|
|
}
|