gnome
This commit is contained in:
parent
f19ae43a40
commit
4d141b5b1a
3 changed files with 17 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
withBluetooth = true;
|
||||
|
||||
withNiri = true;
|
||||
withGnome = false;
|
||||
withGnome = true;
|
||||
withPlasma = true;
|
||||
|
||||
withVM = false;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, ... }: {
|
||||
{ inputs, pkgs, lib, ... }: {
|
||||
imports = [
|
||||
./audio
|
||||
./bluetooth
|
||||
|
@ -41,7 +41,7 @@
|
|||
documentation.nixos.enable = false;
|
||||
|
||||
networking = {
|
||||
useDHCP = true;
|
||||
useDHCP = lib.mkDefault true;
|
||||
wireless.iwd.enable = true;
|
||||
extraHosts =
|
||||
''
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
{ pkgs, lib, config, ... }: lib.mkIf (config.withGnome) {
|
||||
services.displayManager.sessionPackages = [ pkgs.gnome.gnome-session.sessions ];
|
||||
environment.systemPackages = [ pkgs.gnome.gnome-shell pkgs.gnome-randr ];
|
||||
services.xserver = {
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
environment.gnome.excludePackages = (with pkgs.gnome; [
|
||||
nixos-background-info
|
||||
gnome-shell-extensions
|
||||
pkgs.gnome-tour # GNOME Shell detects the .desktop file on first log-in.
|
||||
pkgs.gnome-user-docs
|
||||
pkgs.orca
|
||||
pkgs.gnome-menus
|
||||
]);
|
||||
|
||||
programs.dconf.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue