Added changes to develop with Jetbot
This commit is contained in:
16
modules/system/gpg.nix
Normal file
16
modules/system/gpg.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, self, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.system.gpg;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.system.gpg = {
|
||||
enable = lib.mkEnableOption "gpg";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.gnupg.agent.enable = true;
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# gnupg
|
||||
# ];
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,11 @@ in
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
# See https://github.com/tailscale/tailscale/issues/4432
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
networking = {
|
||||
firewall.checkReversePath = "loose";
|
||||
nameservers = [ "100.80.195.56" ];
|
||||
networkmanager.dns = "none";
|
||||
};
|
||||
services.tailscale.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user