diff --git a/desktops/gnome.nix b/desktops/gnome.nix index a8b196b8..08a7f6cd 100644 --- a/desktops/gnome.nix +++ b/desktops/gnome.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: { +{ config, pkgs, unstable-pkgs, ... }: { services.xserver = { # Enable the GNOME Desktop Environment. displayManager.gdm.enable = true; @@ -13,7 +13,7 @@ # https://nixos.wiki/wiki/GNOME # Remove unwanted packages - environment.gnome.excludePackages = (with pkgs; [ + environment.gnome.excludePackages = (with unstable-pkgs; [ gnome.cheese gnome.gnome-music gnome.epiphany @@ -31,7 +31,7 @@ gnome.simple-scan ]); - environment.systemPackages = with pkgs; [ + environment.systemPackages = with unstable-pkgs; [ # Gnome Extensions gnomeExtensions.tiling-assistant gnomeExtensions.dash-to-dock diff --git a/flake.nix b/flake.nix index 126acef1..2f24e11c 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,10 @@ inputs = { # NixOS packages - nixpkgs.url = "nixpkgs/nixos-unstable"; + nixpkgs.url = "nixpkgs/nixos-23.05"; + + # Bleeding edge nixpkgs + unstable-nixpkgs.url = "nixpkgs/nixos-unstable" # Manage dotfiles in a home directory home-manager.url = "github:nix-community/home-manager/release-23.05"; @@ -34,10 +37,15 @@ system = "x86_64-linux"; pkgs = import nixpkgs { - # Tells Flake what OS version we are using inherit system; config = { allowUnfree = true; }; }; + + unstable-pkgs = import unstable-nixpkgs { + inherit system; + config = { allowUnfree = true; }; + }; + lib = nixpkgs.lib; in { # NixOS Configuration files: