mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 17:13:21 +02:00
refactor: Use haumea for filesystem-based module system for flake outputs
refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
This commit is contained in:
+3
-3
@@ -2,10 +2,10 @@
|
||||
gencoreModule = {
|
||||
pkgs,
|
||||
hostName,
|
||||
vars_networking,
|
||||
networking,
|
||||
...
|
||||
}: let
|
||||
hostAddress = vars_networking.hostAddress.${hostName};
|
||||
hostAddress = networking.hostAddress.${hostName};
|
||||
in {
|
||||
# supported file systems, so we can mount any removable disks with these filesystems
|
||||
boot.supportedFilesystems = [
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
networking = {
|
||||
inherit hostName;
|
||||
inherit (vars_networking) defaultGateway nameservers;
|
||||
inherit (networking) defaultGateway nameservers;
|
||||
|
||||
networkmanager.enable = false;
|
||||
# Set the host's address on the OVS bridge interface instead of the physical interface!
|
||||
|
||||
Reference in New Issue
Block a user