From de6452d9081d29406186a34862e3af3dfe116d3b Mon Sep 17 00:00:00 2001
From: iFargle <albert@sysctl.io>
Date: Tue, 22 Aug 2023 20:39:25 +0900
Subject: [PATCH] test

---
 desktops/gnome.nix | 4 ++--
 flake.nix          | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/desktops/gnome.nix b/desktops/gnome.nix
index 6bd2bb37..7ced88be 100644
--- a/desktops/gnome.nix
+++ b/desktops/gnome.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, hostname, ... }: {
+{ config, pkgs, master-pkgs, hostname, ... }: {
   # Enable sound with pipewire.
   sound.enable = true;
   hardware.pulseaudio.enable = false;
@@ -102,7 +102,7 @@
     gnome.simple-scan
   ]);
 
-  environment.systemPackages = with pkgs; [
+  environment.systemPackages = with master-pkgs.pkgs; [
     # Gnome Extensions
     gnomeExtensions.tiling-assistant
     gnomeExtensions.dash-to-dock
diff --git a/flake.nix b/flake.nix
index 71eeff1a..96268d20 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,6 +6,7 @@
   inputs = {
     # NixOS packages
     unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
+    master-nixpkgs.url = "nixpkgs/master";
 
     # Manage dotfiles in a home directory
     home-manager.url = "github:nix-community/home-manager/release-23.05";
@@ -45,6 +46,10 @@
       inherit system;
       config = { allowUnfree = true; };
     };
+    master-pkgs = import master-nixpkgs {
+      inherit system;
+      config = { allowUnfree = true; };
+    };
 
     lib = unstable-nixpkgs.lib;
   in {
@@ -55,6 +60,7 @@
         inherit system;
         specialArgs = { 
           inherit hostname;
+          inherit master-pkgs;
         };
         modules = [
           # Configuration Imports