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

feat(lib): add localAddresses

This commit is contained in:
2020-10-24 13:27:36 +02:00
parent 177977160f
commit 240b97dce9
6 changed files with 73 additions and 26 deletions

View File

@@ -1,5 +1,7 @@
{ pkgs, lib, config, options, ... }:
let inherit (lib.strings) makeBinPath;
let
inherit (lib.strings) makeBinPath;
inherit (import <niveum/lib>) localAddresses;
in {
imports = [
<niveum/modules/constants.nix>
@@ -222,11 +224,6 @@ in {
environment.systemPackages = [ pkgs.wpa_supplicant_gui ];
}
{
networking.hosts = {
"192.168.178.1" = [ "fritz.box" ];
};
}
{ i18n.defaultLocale = "en_GB.UTF-8"; }
{ services.illum.enable = true; }
{
@@ -266,6 +263,12 @@ in {
helpLine = lib.mkForce "";
};
}
{
networking.hosts = lib.mapAttrs' (name: address: {
name = address;
value = [ "${name}.local" ];
}) localAddresses;
}
./alacritty.nix
./bash.nix
./bluetooth.nix