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

feat: manage retiolum addresses globally, declaratively share moodle

This commit is contained in:
2021-10-12 11:51:55 +02:00
parent 6119c0dbcc
commit c50698f275
7 changed files with 38 additions and 20 deletions

View File

@@ -3,6 +3,9 @@
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
let
inherit (import <niveum/lib>) retiolumAddresses;
in
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
@@ -45,10 +48,7 @@
git vim
];
networking.retiolum = {
ipv4 = "10.243.2.85";
ipv6 = "42:0:3c46:ac99:ae36:cb8:c551:ba27";
};
networking.retiolum = retiolumAddresses.manakish;
networking.hostName = "manakish";