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

61 lines
1.5 KiB
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}: let
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
./hdmi.nix
../../configs/default.nix
2024-03-19 20:31:02 +01:00
../../configs/tlp.nix
../../configs/wpa_supplicant.nix
../../configs/admin-essentials.nix
../../configs/power-action.nix
2020-11-05 21:28:23 +01:00
];
age.secrets = {
2023-02-28 16:45:20 +01:00
retiolum-rsa = {
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 = {
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
};
syncthing-cert.file = ../../secrets/manakish-syncthing-cert.age;
syncthing-key.file = ../../secrets/manakish-syncthing-key.age;
};
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
2020-11-05 21:28:23 +01:00
niveum = {
batteryName = "BAT0";
wirelessInterface = "wlp3s0";
promptColours.success = "green";
2020-11-05 21:28:23 +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"];
retiolum = retiolumAddresses.manakish;
2021-12-31 15:56:20 +01:00
hostName = "manakish";
2020-11-05 21:28:23 +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?
}