From 40d89ce488e00af898e3467550a30bf1402beb2d Mon Sep 17 00:00:00 2001
From: Aaron Honeycutt <aaronhoneycutt@protonmail.com>
Date: Mon, 12 Feb 2024 09:32:55 -0700
Subject: [PATCH] unstable: update to correect standard when using flakes

---
 unstable.nix | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/unstable.nix b/unstable.nix
index 1759139..7e751c5 100644
--- a/unstable.nix
+++ b/unstable.nix
@@ -1,17 +1,7 @@
-{ config, pkgs, ...}:
-
-let
-  unstable = import
-    (builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
-    # reuse the current configuration
-    { config = config.nixpkgs.config; };
-in
+{ unstable, config, pkgs, ... }:
 
 {
-  environment.systemPackages = with pkgs; [
-    unstable.rustc
-    unstable.just
-    unstable.cosmic-icons
-    unstable.cosmic-settings
+  environment.systemPackages = [
+     unstable.legacyPackages."${pkgs.system}".rustc
   ];
 }