From 4c7813a417b32a4b6a4957e53665f451426ecaf6 Mon Sep 17 00:00:00 2001
From: Gabriel Arazas <foodogsquared@foodogsquared.one>
Date: Wed, 31 Jul 2024 21:49:00 +0800
Subject: [PATCH] nixos/profiles/installer: add Guix

Now, it's dual purpose as a NixOS AND Guix System installer.
---
 modules/nixos/profiles/installer.nix | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/nixos/profiles/installer.nix b/modules/nixos/profiles/installer.nix
index a166347b..cbc27413 100644
--- a/modules/nixos/profiles/installer.nix
+++ b/modules/nixos/profiles/installer.nix
@@ -1,7 +1,7 @@
 # A dedicated profile for installers with some niceties in it. This is also
 # used for persistent live installers so you'll have to exclude setting up shop
 # and do that in the respective NixOS configuration instead.
-{ pkgs, modulesPath, ... }:
+{ pkgs, lib, modulesPath, ... }:
 
 {
   imports = [
@@ -19,4 +19,8 @@
     neovim
     zellij
   ];
+
+  # Yeah, that's right, this is also a Guix System installer because SCREW YOU,
+  # NIXOS USERS!
+  services.guix.enable = lib.mkDefault true;
 }