diff --git a/desktops/gnome.nix b/desktops/gnome.nix index ebb4a858..1a68ee72 100644 --- a/desktops/gnome.nix +++ b/desktops/gnome.nix @@ -1,5 +1,6 @@ -{ config, pkgs, unstable, ... }: { +{ config, unstable, ... }: { services.xserver = { + # https://nixos.org/manual/nixos/stable/index.html#chap-gnome # Enable the GNOME Desktop Environment. displayManager.gdm.enable = true; desktopManager.gnome.enable = true; diff --git a/flake.nix b/flake.nix index 6b5f1e79..e328d85d 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,8 @@ # Declare a generic configuration using the $hostname variable: ${hostname} = lib.nixosSystem { inherit system; + # Tell NixOS to inherit the "Unstable" packages defined above. + # Used in the { } imports on each configuration file. See gnome.nix specialArgs = { inherit unstable; }; modules = [ # Configuration Imports