mirror of
https://github.com/blahai/nyx.git
synced 2025-01-19 03:20:20 +00:00
19 lines
330 B
Nix
19 lines
330 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkDefault mkForce;
|
|
in {
|
|
imports = [
|
|
];
|
|
|
|
networking = {
|
|
hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
|
|
|
useDHCP = mkForce false;
|
|
useNetworkd = mkForce true;
|
|
|
|
usePredictableInterfaceNames = mkDefault true;
|
|
};
|
|
}
|