This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/hosts/common/optional/gnome.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-18 04:26:02 -05:00
{ config
, pkgs
, lib
, ...
2024-03-17 16:04:32 -05:00
}: {
2024-03-15 04:11:01 -05:00
# Ref: https://nixos.wiki/wiki/GNOME
# GNOME plz
services.xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager = {
gdm.enable = true;
defaultSession = "gnome"; # TODO move to config overlay
autoLogin.user = "truxnell"; # TODO move to config overlay
};
2024-03-17 16:04:32 -05:00
layout = "us"; # `localctl` will give you
2024-03-15 04:11:01 -05:00
};
# And dconf
programs.dconf.enable = true;
2024-03-23 04:44:27 -05:00
# https://github.com/NixOS/nixpkgs/issues/114514
# dconf write /org/gnome/mutter/experimental-features "['scale-monitor-framebuffer']" TODO hack for GNOME 45
2024-03-15 04:11:01 -05:00
# Exclude default GNOME packages that dont interest me.
2024-03-17 16:04:32 -05:00
environment.gnome.excludePackages =
(with pkgs; [
gnome-photos
gnome-tour
])
++ (with pkgs.gnome; [
cheese # webcam tool
gnome-music
gnome-terminal
gedit # text editor
epiphany # web browser
geary # email reader
evince # document viewer
gnome-characters
totem # video player
tali # poker game
iagno # go game
hitori # sudoku game
atomix # puzzle game
]);
2024-03-15 04:11:01 -05:00
}