about summary refs log tree commit diff
path: root/ops/nixos/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-06-11T11·21+0100
committerVincent Ambo <tazjin@google.com>2020-06-11T11·21+0100
commiteda161624213b17b7e1fc36e1aed1926bbfc9163 (patch)
treefc0cb19de12b3cba2ba8a84b52914d6ba030b37c /ops/nixos/default.nix
parent3407baa7561af2fc8cb68afa995eaed35f08b5dc (diff)
feat(ops/nixos): Initial NixOS configuration for frog r/890
This is mostly based on the nugget configuration, because frog
replaces nugget.
Diffstat (limited to 'ops/nixos/default.nix')
-rw-r--r--ops/nixos/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix
index 040bfeb6e23e..6f0655f34e08 100644
--- a/ops/nixos/default.nix
+++ b/ops/nixos/default.nix
@@ -25,6 +25,10 @@ let
       echo "Rebuilding NixOS for //ops/nixos/camden"
       system=$(nix-build -E '(import <depot> {}).ops.nixos.camdenSystem' --no-out-link)
       ;;
+    frog)
+      echo "Rebuilding NixOS for //ops/nixos/frog"
+      system=$(nix-build -E '(import <depot> {}).ops.nixos.frogSystem' --no-out-link)
+      ;;
     *)
       echo "$HOSTNAME is not a known NixOS host!" >&2
       exit 1
@@ -39,4 +43,5 @@ in {
 
   nuggetSystem = systemFor [ depot.ops.nixos.nugget ];
   camdenSystem = systemFor [ depot.ops.nixos.camden ];
+  frogSystem = systemFor [ depot.ops.nixos.frog ];
 }