refactor(nixosModules): moved networking config to a module

This commit is contained in:
Mohammad Rafiq 2025-04-28 10:15:52 +08:00
parent cb164afe12
commit 36b1088d34
No known key found for this signature in database
6 changed files with 93 additions and 76 deletions

View file

@ -14,11 +14,18 @@ in
./nix-config.nix
./gaming.nix
./filesystems.nix
./networking.nix
];
options = {
"${moduleName}" = {
enable = lib.mkEnableOption "Enable ${moduleName}.";
hostname = lib.mkOption {
type = lib.types.str;
default = "";
example = "goron";
description = "The name this machine will be known by.";
};
};
};