Browse Source

Timezones

main
parent
commit
69ec80b1fe
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 3
      hosts/acernitro/configuration.nix
  2. 36
      hosts/homecloud/configuration.nix
  3. 4
      hosts/raspberry/configuration.nix

3
hosts/acernitro/configuration.nix

@ -20,7 +20,7 @@
"192.168.3.163" = [ "acernitro_" ]; "192.168.3.163" = [ "acernitro_" ];
"192.168.3.182" = [ "raspberry" ]; "192.168.3.182" = [ "raspberry" ];
"192.168.3.123" = [ "raspberry_" ]; "192.168.3.123" = [ "raspberry_" ];
# "" = [ "homecloud" ];
"192.168.3.183" = [ "homecloud" ];
# "" = [ "homecloud_" ]; # "" = [ "homecloud_" ];
# "" = [ "zero-one" ]; # "" = [ "zero-one" ];
# "" = [ "zero-two" ]; # "" = [ "zero-two" ];
@ -28,7 +28,6 @@
}; };
services.xserver.dpi = 96; services.xserver.dpi = 96;
services.openssh.enable = true;
services.printing.enable = true; services.printing.enable = true;
programs.mtr.enable = true; programs.mtr.enable = true;

36
hosts/homecloud/configuration.nix

@ -1,3 +1,37 @@
# This file is controlled by /etc/dotfiles/README.org # This file is controlled by /etc/dotfiles/README.org
{ # TODO
{ config, pkgs, ... }:
{
time.timeZone = "America/Toronto";
networking.hostName = "homecloud";
networking.firewall.enable = false;
networking.networkmanager.enable = true;
networking.interfaces.eth0.useDHCP = true;
networking.interfaces.wlan0.useDHCP = true;
networking.wireless.networks.MyWiFi_5C1870.pskRaw =
"409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
networking.hosts = {
"192.168.3.105" = [ "gamingpc" ];
# "" = [ "acernitro" ];
"192.168.3.163" = [ "acernitro_" ];
"192.168.3.182" = [ "raspberry" ];
"192.168.3.123" = [ "raspberry_" ];
"192.168.3.183" = [ "homecloud" ];
# "" = [ "homecloud_" ];
# "" = [ "zero-one" ];
# "" = [ "zero-two" ];
# "" = [ "android" ];
};
environment.systemPackages = [
pkgs.libraspberrypi
pkgs.raspberrypi-eeprom
];
users.users.chris = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
};
} }

4
hosts/raspberry/configuration.nix

@ -2,6 +2,8 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
time.timeZone = "America/Toronto";
networking.hostName = "raspberry"; networking.hostName = "raspberry";
networking.firewall.enable = false; networking.firewall.enable = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -14,7 +16,7 @@
"192.168.3.163" = [ "acernitro_" ]; "192.168.3.163" = [ "acernitro_" ];
"192.168.3.182" = [ "raspberry" ]; "192.168.3.182" = [ "raspberry" ];
"192.168.3.123" = [ "raspberry_" ]; "192.168.3.123" = [ "raspberry_" ];
# "" = [ "homecloud" ];
"192.168.3.183" = [ "homecloud" ];
# "" = [ "homecloud_" ]; # "" = [ "homecloud_" ];
# "" = [ "zero-one" ]; # "" = [ "zero-one" ];
# "" = [ "zero-two" ]; # "" = [ "zero-two" ];

Loading…
Cancel
Save