From 0d2038836a2e963cb054377e431ec8babf7f18f8 Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Thu, 9 May 2024 21:39:10 +0200 Subject: [PATCH] fix(build): nixos-wsl & googled-dragon build errors --- nixos/google-dragon/google-dragon.nix | 3 ++- nixos/nixos-wsl/nixos-wsl.nix | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/google-dragon/google-dragon.nix b/nixos/google-dragon/google-dragon.nix index d2d8b419..7a3bd5d3 100644 --- a/nixos/google-dragon/google-dragon.nix +++ b/nixos/google-dragon/google-dragon.nix @@ -1,12 +1,13 @@ { inputs, lib, + ... }: { imports = ["${toString inputs.nixpkgs}/nixos/modules/virtualisation/google-compute-image.nix"]; dr460nixed = { grub = { - devices = ["/dev/sda"]; + device = "/dev/sda"; enable = true; }; servers = { diff --git a/nixos/nixos-wsl/nixos-wsl.nix b/nixos/nixos-wsl/nixos-wsl.nix index 691bd54b..46b178b0 100644 --- a/nixos/nixos-wsl/nixos-wsl.nix +++ b/nixos/nixos-wsl/nixos-wsl.nix @@ -119,8 +119,6 @@ config.enable = true; }; shellAbbrs = { - "reb" = " sudo nixos-rebuild switch -L"; - "roll" = "sudo nixos-rebuild switch --rollback"; "su" = "sudo su -"; "tarnow" = "tar acf "; "test" = "sudo nixos-rebuild switch --test";