From 89b0a437861fd2553afec18c574dfa894aa77bc6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Jan 2020 01:44:40 +0000 Subject: feat(ops/nixos/nugget): Connect to wifi & install Google Chrome This adds configuration which, sometimes, when the stars align just right, makes it possible to cast to the Chromecast from nugget. --- ops/nixos/nugget/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ops') diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix index ca0e7f1c2204..735b02e0083e 100644 --- a/ops/nixos/nugget/default.nix +++ b/ops/nixos/nugget/default.nix @@ -55,7 +55,16 @@ in pkgs.lib.fix(self: { ]; # Open Chromecast-related ports & servedir + firewall.enable = false; firewall.allowedTCPPorts = [ 4242 5556 5558 ]; + + # Connect to the WiFi to let the Chromecast work. + wireless.enable = true; + wireless.networks = { + "How do I computer?" = { + psk = "washyourface"; + }; + }; }; # Generate an immutable /etc/resolv.conf from the nameserver settings @@ -91,6 +100,7 @@ in pkgs.lib.fix(self: { fd gnupg go + google-chrome google-cloud-sdk htop imagemagick -- cgit 1.4.1