diff --git a/features/gnome.nix b/features/gnome.nix new file mode 100644 index 0000000..0c07ce6 --- /dev/null +++ b/features/gnome.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + services.xserver = { + enable = true; + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; + }; + +} diff --git a/flake.lock b/flake.lock index 36a107a..b8f4d11 100644 --- a/flake.lock +++ b/flake.lock @@ -612,17 +612,17 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1629618782, - "narHash": "sha256-2K8SSXu3alo/URI3MClGdDSns6Gb4ZaW4LET53UWyKk=", + "lastModified": 1630248577, + "narHash": "sha256-9d/yq96TTrnF7qjA6wPYk+rYjWAXwfUmwk3qewezSeg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "870959c7fb3a42af1863bed9e1756086a74eb649", + "rev": "8d8a28b47b7c41aeb4ad01a2bd8b7d26986c3512", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "870959c7fb3a42af1863bed9e1756086a74eb649", + "rev": "8d8a28b47b7c41aeb4ad01a2bd8b7d26986c3512", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 8d72df2..0dfb9ea 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ # https://status.nixos.org/ # # This ensures that we always use the official nix cache. - nixpkgs.url = "github:nixos/nixpkgs/870959c7fb3a42af1863bed9e1756086a74eb649"; + nixpkgs.url = "github:nixos/nixpkgs/8d8a28b47b7c41aeb4ad01a2bd8b7d26986c3512"; nixos-hardware.url = github:NixOS/nixos-hardware/master; home-manager.url = "github:nix-community/home-manager"; @@ -70,8 +70,8 @@ [ inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-7th-gen ./features/email - ./features/desktopish - ./features/block-socialmedia.nix + ./features/gnome.nix + #./features/block-socialmedia.nix ]; }; }