This commit is contained in:
twoneis 2024-06-24 20:14:45 +02:00
parent f19ae43a40
commit 4d141b5b1a
3 changed files with 17 additions and 5 deletions

View file

@ -5,7 +5,7 @@
withBluetooth = true; withBluetooth = true;
withNiri = true; withNiri = true;
withGnome = false; withGnome = true;
withPlasma = true; withPlasma = true;
withVM = false; withVM = false;

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { { inputs, pkgs, lib, ... }: {
imports = [ imports = [
./audio ./audio
./bluetooth ./bluetooth
@ -41,7 +41,7 @@
documentation.nixos.enable = false; documentation.nixos.enable = false;
networking = { networking = {
useDHCP = true; useDHCP = lib.mkDefault true;
wireless.iwd.enable = true; wireless.iwd.enable = true;
extraHosts = extraHosts =
'' ''

View file

@ -1,4 +1,16 @@
{ pkgs, lib, config, ... }: lib.mkIf (config.withGnome) { { pkgs, lib, config, ... }: lib.mkIf (config.withGnome) {
services.displayManager.sessionPackages = [ pkgs.gnome.gnome-session.sessions ]; services.xserver = {
environment.systemPackages = [ pkgs.gnome.gnome-shell pkgs.gnome-randr ]; 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;
} }