mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
61 lines
1.5 KiB
Nix
61 lines
1.5 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (import ../../lib) retiolumAddresses;
|
|
in {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
./hdmi.nix
|
|
../../configs/default.nix
|
|
../../configs/tlp.nix
|
|
../../configs/admin-essentials.nix
|
|
../../configs/networkmanager.nix
|
|
../../configs/power-action.nix
|
|
];
|
|
|
|
age.secrets = {
|
|
retiolum-rsa = {
|
|
file = ../../secrets/manakish-retiolum-privateKey-rsa.age;
|
|
mode = "400";
|
|
owner = "tinc-retiolum";
|
|
group = "tinc-retiolum";
|
|
};
|
|
retiolum-ed25519 = {
|
|
file = ../../secrets/manakish-retiolum-privateKey-ed25519.age;
|
|
mode = "400";
|
|
owner = "tinc-retiolum";
|
|
group = "tinc-retiolum";
|
|
};
|
|
syncthing-cert.file = ../../secrets/manakish-syncthing-cert.age;
|
|
syncthing-key.file = ../../secrets/manakish-syncthing-key.age;
|
|
wireguard-aether-key.file = ../../secrets/manakish-wireguard-aether-key.age;
|
|
wireguard-aether-psk.file = ../../secrets/manakish-wireguard-aether-psk.age;
|
|
};
|
|
|
|
niveum = {
|
|
batteryName = "BAT0";
|
|
wirelessInterface = "wlp3s0";
|
|
promptColours.success = "green";
|
|
};
|
|
|
|
networking = {
|
|
useDHCP = false;
|
|
interfaces = {
|
|
enp0s25.useDHCP = true;
|
|
wlp3s0.useDHCP = true;
|
|
wwp0s20u4i6.useDHCP = true;
|
|
};
|
|
wireless.interfaces = ["wlp3s0"];
|
|
retiolum = retiolumAddresses.manakish;
|
|
hostName = "manakish";
|
|
};
|
|
|
|
systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false;
|
|
|
|
system.stateVersion = "20.09"; # Did you read the comment?
|
|
}
|