move stuff

This commit is contained in:
mjallen18
2025-08-26 17:20:27 -05:00
parent f66c0726b0
commit d15762b199
68 changed files with 24 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ in
hostName = lib.mkForce cfg.hostName;
# Use networkd if enabled
useNetworkd = lib.mkIf cfg.useNetworkd true;
useNetworkd = lib.mkDefault true;
# Set default gateway and nameservers if in manual mode
defaultGateway = lib.mkIf (cfg.ipv4.method == "manual") {

View File

@@ -1,7 +0,0 @@
{ lib, namespace, ... }:
with lib;
{
options.${namespace}.services.ollama = {
enable = mkEnableOption "enable ollama";
};
}

View File

@@ -7,7 +7,7 @@
}:
with lib;
let
cfg = config.${namespace}.services.ollama;
cfg = config.${namespace}.services.ai;
in
{
imports = [ ./options.nix ];

View File

@@ -0,0 +1,7 @@
{ lib, namespace, ... }:
with lib;
{
options.${namespace}.services.ai = {
enable = mkEnableOption "enable ai";
};
}