From 5f7d0a52b9cffffbe2682900f28ad1b928206eb5 Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Thu, 9 May 2024 17:06:00 +0200 Subject: [PATCH] fix(google-dragon): proper config --- nixos/google-dragon/google-dragon.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/google-dragon/google-dragon.nix b/nixos/google-dragon/google-dragon.nix index f3d5c92b..d2d8b419 100644 --- a/nixos/google-dragon/google-dragon.nix +++ b/nixos/google-dragon/google-dragon.nix @@ -1,5 +1,14 @@ -_: { +{ + inputs, + lib, +}: { + imports = ["${toString inputs.nixpkgs}/nixos/modules/virtualisation/google-compute-image.nix"]; + dr460nixed = { + grub = { + devices = ["/dev/sda"]; + enable = true; + }; servers = { enable = true; monitoring = true; @@ -12,6 +21,9 @@ _: { # Hostname of this machine networking.hostName = "google-dragon"; + # Clashing gcp.nix / GNS + boot.loader.timeout = lib.mkForce 0; + # NixOS stuff system.stateVersion = "23.11"; }