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