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

45 lines
1.0 KiB
Nix
Raw Normal View History

2019-06-15 15:04:13 +02:00
{
2022-03-10 21:52:12 +01:00
config,
pkgs,
lib,
...
}: let
inherit (import ../../lib) retiolumAddresses;
2022-03-10 21:52:12 +01:00
in {
2019-06-15 17:50:02 +02:00
imports = [
./hardware-configuration.nix
../../configs/battery.nix
../../configs/default.nix
../../configs/networkmanager.nix # TODO how to get passwords into there?
2019-06-15 17:50:02 +02:00
];
2019-06-15 15:04:13 +02:00
niveum = {
batteryName = "BAT0";
wirelessInterface = "wlp3s0";
promptColours.success = "cyan";
};
2022-07-19 22:00:36 +02:00
nix.settings = {
cores = 1;
max-jobs = 2;
};
age.secrets = {
retiolum-rsa.file = ../../secrets/kabsa-retiolum-privateKey-rsa.age;
retiolum-ed25519.file = ../../secrets/kabsa-retiolum-privateKey-ed25519.age;
restic.file = ../../secrets/restic.age;
syncthing-cert.file = ../../secrets/kabsa-syncthing-cert.age;
syncthing-key.file = ../../secrets/kabsa-syncthing-key.age;
};
2022-11-29 22:49:51 +01:00
environment.systemPackages = [pkgs.minecraft pkgs.zeroad];
2020-01-24 08:59:40 +01:00
networking = {
hostName = "kabsa";
2022-03-10 21:52:12 +01:00
wireless.interfaces = ["wlp3s0"];
retiolum = retiolumAddresses.kabsa;
};
2019-11-05 21:58:49 +01:00
system.stateVersion = "19.03";
2019-06-15 15:04:13 +02:00
}