nix fmt rfc

This commit is contained in:
Christoph Hollizeck 2024-04-04 19:31:55 +02:00
parent aa6fff07a9
commit 838139fa72
41 changed files with 430 additions and 351 deletions

View file

@ -6,14 +6,14 @@
...
}:
with lib;
with lib.wyrdgard; let
with lib.wyrdgard;
let
cfg = config.wyrdgard.system.hardware.networking;
in {
in
{
options.wyrdgard.system.hardware.networking = with types; {
enable = mkBoolOpt false "Whether or not to enable networking";
};
config = mkIf cfg.enable {
networking.networkmanager.enable = true;
};
config = mkIf cfg.enable { networking.networkmanager.enable = true; };
}