modules/glauth: Fix missing parenthesis

This commit is contained in:
kat witch 2021-09-05 18:41:18 +01:00
parent 3d801a9d84
commit 15f61b38c2
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 6 additions and 5 deletions

View file

@ -20,7 +20,7 @@
type = "resource";
connection = {
port = head config.services.openssh.ports;
host = config.network.addresses.private.nixos.ipv4.address;
host = "192.168.1.145"; #config.network.addresses.private.nixos.ipv4.address;
};
};
};
@ -29,7 +29,7 @@
networking = {
useDHCP = true;
interfaces.eno1.ipv4.addresses = singleton {
interfaces.eth0.ipv4.addresses = singleton {
inherit (config.network.addresses.private.nixos.ipv4) address;
prefixLength = 24;
};
@ -48,7 +48,7 @@
};
yggdrasil = {
enable = true;
pubkey = "0000000000000000000000000000000000000000000000000000";
pubkey = "5ba8c9f8627b6e5da938e6dec6e0a66287490e28084e58125330b7a8812cc22e";
listen.enable = false;
listen.endpoints = [ "tcp://0.0.0.0:0" ];
};
@ -58,7 +58,7 @@
network.firewall = {
private.interfaces = singleton "yggdrasil";
public.interfaces = singleton "eno1";
public.interfaces = singleton "eth0";
};
# State

View file

@ -12,7 +12,7 @@ in
configFile = mkOption {
description = "The config path that GLAuth uses";
type = types.path;
default = pkgs.writeText "glauth-config" toTOML cfg.settings;
default = pkgs.writeText "glauth-config" (toTOML cfg.settings);
};
database = {
enable = mkEnableOption "use a database";

View file

@ -2,6 +2,7 @@
{
environment.systemPackages = with pkgs; [
neofetch
smartmontools
hddtemp
lm_sensors