Compare commits
3 commits
0617934f31
...
790b5ec4e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 790b5ec4e7 | |||
| 6be10e325a | |||
| 965a5eef13 |
3 changed files with 8 additions and 6 deletions
|
|
@ -22,14 +22,14 @@
|
|||
wakeOnLan.enable = true;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "10.0.0.2";
|
||||
address = "192.168.1.160";
|
||||
prefixLength = 8;
|
||||
}
|
||||
];
|
||||
};
|
||||
# I use networkd, so I need to declare the interface for the default gateway
|
||||
defaultGateway = {
|
||||
address = "10.0.0.1";
|
||||
address = "192.168.1.1";
|
||||
interface = "eno1";
|
||||
};
|
||||
nameservers = ["9.9.9.9"];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{lib, ...}: let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
domain = "adguard.everest.tailscale";
|
||||
port = 3001;
|
||||
in {
|
||||
|
|
@ -10,7 +14,7 @@ in {
|
|||
settings = {
|
||||
dns = {
|
||||
bind_hosts = [
|
||||
"10.0.0.2"
|
||||
((lib.lists.last config.networking.interfaces.eno1.ipv4.addresses).address)
|
||||
"100.100.0.1"
|
||||
];
|
||||
bootstrap_dns = ["9.9.9.9"];
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
if os.environ["PAM_TYPE"] != "open_session":
|
||||
raise SystemExit
|
||||
print("User logging in")
|
||||
|
||||
secretPath = "${config.age.secrets.discord-webhook.path}"
|
||||
|
||||
webhookUrl: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue