switch to gnome

This commit is contained in:
Cyryl Płotnicki 2020-07-04 17:22:30 +01:00
parent bc40956b3a
commit a419bb1dda
5 changed files with 12 additions and 7 deletions

View file

@ -33,11 +33,11 @@
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
../../boot.nix ../../boot.nix
../../common.nix ../../common.nix
../../gfx-intel.nix ../../gfx-nvidia-optimus.nix
../../zerotier.nix ../../zerotier.nix
../../distributed-builds.nix ../../distributed-builds.nix
../../libvirt.nix ../../libvirt.nix
../../i3/system.nix ../../gnome/system.nix
../../backups.nix ../../backups.nix
]; ];

View file

@ -20,7 +20,7 @@ in
../../home-common.nix ../../home-common.nix
../../programs/git.nix ../../programs/git.nix
../../gui.nix ../../gui.nix
../../i3/home.nix ../../gnome/home.nix
]; ];
} }

View file

@ -12,6 +12,9 @@ in
environment.systemPackages = [ nvidia-offload ]; environment.systemPackages = [ nvidia-offload ];
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl = { enable = true; };
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.prime.offload.enable = true; hardware.nvidia.prime.offload.enable = true;
hardware.nvidia.prime = { hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0"; intelBusId = "PCI:0:2:0";

View file

@ -3,10 +3,11 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
displayManager.gdm.wayland = false; displayManager.gdm.wayland = true;
displayManager.gdm.nvidiaWayland = true;
desktopManager.gnome3.enable = true; desktopManager.gnome3.enable = true;
}; };
services.dbus.packages = with pkgs; [ gnome2.GConf ]; services.dbus.packages = with pkgs; [ gnome2.GConf gnome3.dconf ];
users.users.cyryl.packages = with pkgs; []; users.users.cyryl.packages = with pkgs; [];
} }

View file

@ -26,11 +26,12 @@
mindforger mindforger
evince signal-desktop evince signal-desktop
vlc vlc
jetbrains.goland unstable.jetbrains.clion jetbrains.idea-ultimate unstable.android-studio jetbrains.goland jetbrains.clion jetbrains.idea-ultimate android-studio
yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt
slack discord gnome3.nautilus gnome3.eog slack discord gnome3.nautilus gnome3.eog
hopper hopper
unstable.qemu unstable.aqemu unstable.foldingathome qemu aqemu foldingathome
spotify shotwell spotify shotwell
gnome-builder flatpak-builder flatpak python38Packages.lxml python38Packages.jedi meson
]; ];
} }