2023-07-04 16:28:26 +02:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: let
|
2023-02-22 10:02:55 +01:00
|
|
|
inherit (import ../../lib) retiolumAddresses;
|
2022-03-10 21:52:12 +01:00
|
|
|
in {
|
|
|
|
|
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
|
2023-02-22 10:02:55 +01:00
|
|
|
../../configs/wpa_supplicant.nix
|
2024-01-09 08:00:33 +01:00
|
|
|
../../configs/admin-essentials.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";
|
|
|
|
|
owner = "tinc.retiolum";
|
|
|
|
|
group = "tinc.retiolum";
|
|
|
|
|
};
|
|
|
|
|
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";
|
|
|
|
|
owner = "tinc.retiolum";
|
|
|
|
|
group = "tinc.retiolum";
|
|
|
|
|
};
|
2023-07-04 16:28:26 +02:00
|
|
|
syncthing-cert.file = ../../secrets/manakish-syncthing-cert.age;
|
|
|
|
|
syncthing-key.file = ../../secrets/manakish-syncthing-key.age;
|
2023-02-22 10:02:55 +01:00
|
|
|
};
|
|
|
|
|
|
2024-03-17 21:41:05 +01:00
|
|
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
|
|
|
|
|
|
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;
|
|
|
|
|
};
|
2022-03-10 21:52:12 +01:00
|
|
|
wireless.interfaces = ["wlp3s0"];
|
2021-12-29 18:49:51 +01:00
|
|
|
retiolum = retiolumAddresses.manakish;
|
2021-12-31 15:56:20 +01:00
|
|
|
hostName = "manakish";
|
2020-11-05 21:28:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
system.stateVersion = "20.09"; # Did you read the comment?
|
|
|
|
|
}
|