nixos-config/system/gnome.nix

38 lines
1 KiB
Nix
Raw Normal View History

2022-11-07 11:24:40 -03:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
2022-11-07 11:24:40 -03:00
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.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;
};
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
];
2022-11-07 11:24:40 -03:00
}