mirror of
https://github.com/blahai/nyx.git
synced 2025-06-09 08:13:01 -04:00
All this just to get nyx to even build
This commit is contained in:
parent
ed1aafe645
commit
fdfd4e0434
24 changed files with 2272 additions and 0 deletions
19
modules/nixos/networking/default.nix
Normal file
19
modules/nixos/networking/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue