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

57 lines
1.2 KiB
Nix
Raw Normal View History

2019-06-15 15:04:13 +02:00
{
config,
2022-03-10 21:52:12 +01:00
pkgs,
lib,
2022-03-10 21:52:12 +01:00
...
}: 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
2024-03-19 20:31:02 +01:00
../../configs/tlp.nix
../../configs/default.nix
2024-03-19 20:31:02 +01:00
../../configs/networkmanager.nix
2019-06-15 17:50:02 +02:00
];
2019-06-15 15:04:13 +02:00
niveum = {
batteryName = "BAT0";
wirelessInterface = "wlp3s0";
promptColours.success = "cyan";
};
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
2022-07-19 22:00:36 +02:00
nix.settings = {
cores = 1;
max-jobs = 2;
};
age.secrets = {
2023-02-28 16:45:20 +01:00
retiolum-rsa = {
file = ../../secrets/kabsa-retiolum-privateKey-rsa.age;
2023-02-28 16:45:20 +01:00
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
retiolum-ed25519 = {
file = ../../secrets/kabsa-retiolum-privateKey-ed25519.age;
2023-02-28 16:45:20 +01:00
mode = "400";
owner = "tinc.retiolum";
group = "tinc.retiolum";
};
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
}