Test, will squash

mikeodr/add-nixos-modules
Mike O'Driscoll 1 month ago
parent 7e28275cfb
commit 67a5a3170d
No known key found for this signature in database

@ -145,6 +145,15 @@
nixosModules = { nixosModules = {
tailscale = import ./nixos/tailscaled-module.nix self; tailscale = import ./nixos/tailscaled-module.nix self;
# Module that disables upstream and uses this one
override = {
config,
pkgs,
...
}: {
imports = [(import ./nixos/tailscaled-module.nix self)];
disabledModules = ["services/networking/tailscale.nix"];
};
default = self.nixosModules.tailscale; default = self.nixosModules.tailscale;
}; };

@ -17,7 +17,7 @@ self: {
in { in {
# Tailscale config options # Tailscale config options
options.services.tailscale = { options.services.tailscale = {
enable = mkEnabledOption "Enable Tailscale service"; enable = mkEnableOption "Enable Tailscale service";
package = mkOption { package = mkOption {
type = types.package; type = types.package;

Loading…
Cancel
Save