nixos-config/system/gnome.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

2024-06-01 19:22:47 -03:00
{ pkgs, lib, ... }:
{
2024-05-31 23:10:41 -03:00
services.xserver = {
enable = true;
desktopManager.gnome = {
enable = true;
# Enable VRR (Variable Refresh Rate)
extraGSettingsOverridePackages = with pkgs; [ gnome.mutter ];
extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['variable-refresh-rate', 'scale-monitor-framebuffer']
'';
};
displayManager.gdm.enable = true;
};
2023-11-27 15:45:03 -03:00
# Workaround for https://github.com/NixOS/nixpkgs/issues/103746
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
2024-05-27 09:44:01 -03:00
services.displayManager.autoLogin = {
2023-11-27 15:45:03 -03:00
enable = true;
user = "lelgenio";
};
2024-05-27 11:52:17 -03:00
programs.kdeconnect = {
enable = true;
package = pkgs.gnomeExtensions.gsconnect;
};
2024-06-01 19:22:47 -03:00
hardware.opentabletdriver.enable = lib.mkForce false;
programs.gpaste.enable = true;
2022-11-07 11:24:40 -03:00
# services.xserver.displayManager.autologin.user = "lelgenio";
environment.systemPackages =
with pkgs;
with gnome;
[
gnome-tweaks
dconf-editor
2023-11-27 15:45:03 -03:00
chrome-gnome-shell
gnomeExtensions.quick-settings-audio-devices-hider
gnome-pass-search-provider
];
2022-11-07 11:24:40 -03:00
}