diff options
Diffstat (limited to 'host/Rory-fosscord')
-rwxr-xr-x | host/Rory-fosscord/configuration.nix | 38 | ||||
-rwxr-xr-x | host/Rory-fosscord/software.nix | 23 |
2 files changed, 37 insertions, 24 deletions
diff --git a/host/Rory-fosscord/configuration.nix b/host/Rory-fosscord/configuration.nix index 84c997e..ce93fc2 100755 --- a/host/Rory-fosscord/configuration.nix +++ b/host/Rory-fosscord/configuration.nix @@ -1,24 +1,32 @@ -{ config, pkgs, lib, discord-client-proxy, ... }: +{ + config, + pkgs, + lib, + discord-client-proxy, + ... +}: { - imports = - [ - ../../modules/base-server.nix - ./software.nix - ]; + imports = [ + ../../modules/base-server.nix + ./software.nix + ]; networking = { hostName = "Rory-fosscord"; - interfaces.ens18.ipv4.addresses = [ { - address = "192.168.1.100"; - prefixLength = 24; - } ]; - interfaces.ens19.ipv4.addresses = [ { - address = "10.10.10.100"; - prefixLength = 16; - } ]; + interfaces.ens18.ipv4.addresses = [ + { + address = "192.168.1.100"; + prefixLength = 24; + } + ]; + interfaces.ens19.ipv4.addresses = [ + { + address = "10.10.10.100"; + prefixLength = 16; + } + ]; }; system.stateVersion = "22.11"; # DO NOT EDIT! } - diff --git a/host/Rory-fosscord/software.nix b/host/Rory-fosscord/software.nix index 231b74d..f58d211 100755 --- a/host/Rory-fosscord/software.nix +++ b/host/Rory-fosscord/software.nix @@ -1,11 +1,16 @@ -{ config, pkgs, lib, discord-client-proxy, ... }: +{ + config, + pkgs, + lib, + discord-client-proxy, + ... +}: { - imports = - [ - ../../modules/base-server.nix - # ./services.nix - discord-client-proxy.modules.proxy - discord-client-proxy.modules.users - ]; -} \ No newline at end of file + imports = [ + ../../modules/base-server.nix + # ./services.nix + discord-client-proxy.modules.proxy + discord-client-proxy.modules.users + ]; +} |