mirror of
https://github.com/blahai/nyx.git
synced 2025-01-19 11:30:20 +00:00
20 lines
330 B
Nix
20 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;
|
||
|
};
|
||
|
}
|