From a745b35c8485e2833b371467201d52adfb7eb049 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Thu, 29 May 2025 20:37:12 +0200 Subject: [PATCH] Added update script --- profiles/nixos/vm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/nixos/vm.nix b/profiles/nixos/vm.nix index d416bac..8f51fae 100644 --- a/profiles/nixos/vm.nix +++ b/profiles/nixos/vm.nix @@ -44,6 +44,12 @@ in ]; }; + # System packages + environment.systemPackages = with pkgs; [ + # TODO: Make module for utilities/scripts + (writeShellScriptBin "system-update" "nixos-rebuild switch --flake git+https://git.bulthuis.dev/Jan/dotfiles") + ]; + # Enable qemu guest agent services.qemuGuest.enable = true;