diff --git a/desktops/gnome.nix b/desktops/gnome.nix index d5a8258b..f02980f8 100644 --- a/desktops/gnome.nix +++ b/desktops/gnome.nix @@ -1,4 +1,7 @@ { config, pkgs, ... }: { + + + services.xserver = { # Enable the GNOME Desktop Environment. displayManager.gdm.enable = true; @@ -13,7 +16,7 @@ # https://nixos.wiki/wiki/GNOME # Remove unwanted packages - environment.gnome.excludePackages = (with unstable-nixpkgs; [ + environment.gnome.excludePackages = (with unstable.pkgs; [ gnome.cheese gnome.gnome-music gnome.epiphany @@ -31,7 +34,7 @@ gnome.simple-scan ]); - environment.systemPackages = with unstable-nixpkgs; [ + environment.systemPackages = with unstable.pkgs; [ # Gnome Extensions gnomeExtensions.tiling-assistant gnomeExtensions.dash-to-dock diff --git a/flake.nix b/flake.nix index e0d5e167..16b7410f 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,7 @@ config = { allowUnfree = true; }; }; - unstable-pkgs = import unstable-nixpkgs { + unstable = import unstable-nixpkgs { inherit system; config = { allowUnfree = true; }; };