clean up & consoldiation of custom pkgs from flakes & herdr
This commit is contained in:
1 parent
6229440107
commit
bdfcb9e814
22 files changed
+207
-446
No files matched your search
@@ -10,6 +10,13 @@ in
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
skyg.nixos.common.networking = {
|
||||
nfsServer.enable = lib.mkOption {
|
||||
description = "Enable the NFS server (services.nfs.server).";
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = {
|
||||
# Define hostname.
|
||||
@@ -19,7 +26,7 @@ in
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# NFS Support
|
||||
services.nfs.server.enable = true;
|
||||
services.nfs.server.enable = config.skyg.nixos.common.networking.nfsServer.enable;
|
||||
|
||||
# Disable the flaky nm service
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
|
||||
Reference in new issue
Block a user