mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
modules/glauth: Fix missing parenthesis
This commit is contained in:
parent
3d801a9d84
commit
15f61b38c2
3 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
neofetch
|
||||
smartmontools
|
||||
hddtemp
|
||||
lm_sensors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue