nixos-config/modules/wm/gnome/default.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2023-07-23 20:12:02 +02:00
#
# Gnome configuration
#
# flake.nix
# ├─ ./hosts
# │ └─ ./laptop
# │ └─ default.nix
# └─ ./modules
# └─ ./desktop
# └─ ./gnome
# └─ default.nix *
#
{ config, lib, user, pkgs, ... }:
2023-07-23 20:12:02 +02:00
{
hardware.pulseaudio.enable = lib.mkForce false;
2023-07-23 20:12:02 +02:00
environment.systemPackages = with pkgs; [
gnome.gnome-terminal
gnomeExtensions.dash-to-dock
gnomeExtensions.appindicator
flatpak
2023-10-15 08:47:04 +02:00
rocmPackages.clr.icd
rocmPackages.clr
2023-07-23 20:12:02 +02:00
clinfo
];
services = {
xserver = {
enable = true;
2023-07-23 20:12:02 +02:00
desktopManager.gnome.enable = true;
displayManager = {
gdm.wayland = true;
2023-07-29 08:59:44 +02:00
gdm.enable = true;
gdm.autoLogin.delay = 5;
gdm.settings = {
security = {
DisallowTCP=true;
};
};
defaultSession = "steam-wayland";
autoLogin.enable = true;
autoLogin.user = "kabbone";
2023-07-23 20:12:02 +02:00
};
};
flatpak.enable = true;
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
2023-07-23 20:12:02 +02:00
};
}