diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-10-03 22:05:36 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-10-04 18:54:45 -0700 |
| commit | bb585fb98b80729ce3ebc930b14c6cbab4acbabf (patch) | |
| tree | 3be9ac16870832dc20c66d11c7da570c04da510d /modules/network.nix | |
| parent | fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1 (diff) | |
| download | depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.tar.gz depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.tar.bz2 depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.zip | |
bump nixpkgs again and fix other flake refs
Diffstat (limited to 'modules/network.nix')
| -rw-r--r-- | modules/network.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/network.nix b/modules/network.nix index 8264102..e9383c2 100644 --- a/modules/network.nix +++ b/modules/network.nix @@ -3,6 +3,8 @@ let cfg = config.depot.net; inherit (lib) mkOption + mkEnableOption + mkIf types ; @@ -27,6 +29,7 @@ in ]; options.depot.net = { + enable = mkEnableOption "depot networking"; v6Token = mkOption { type = types.str; default = "eui64"; @@ -34,7 +37,7 @@ in }; }; - config = { + config = mkIf cfg.enable { # networkd handles this networking.useDHCP = false; |
