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

55 lines
1.0 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, jovian-nixos, ... }:
{
imports = [
(jovian-nixos + "/modules")
];
jovian = {
steam.enable = true;
devices.steamdeck = {
enable = true;
};
};
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
environment.systemPackages = with pkgs; [
gnome.gnome-terminal
gnomeExtensions.dash-to-dock
steamdeck-firmware
rocm-opencl-icd
rocm-opencl-runtime
clinfo
];
services = {
xserver = {
desktopManager.gnome.enable = true;
displayManager = {
gdm.wayland = true;
defaultSession = "steam-wayland";
autoLogin.enable = true;
autoLogin.user = "kabbone";
};
};
};
}