format all

This commit is contained in:
Kopatz
2025-10-30 21:59:31 +01:00
parent b1dda4d037
commit 8a78e618bb
188 changed files with 3526 additions and 1825 deletions

View File

@@ -1,16 +1,24 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
with lib;
let cfg = config.custom.graphical.gnome;
in {
options.custom.graphical.gnome = { enable = mkEnableOption "Enables gnome"; };
let
cfg = config.custom.graphical.gnome;
in
{
options.custom.graphical.gnome = {
enable = mkEnableOption "Enables gnome";
};
config = mkIf cfg.enable {
services.xserver = {
xkb.layout = config.mainUser.layout;
xkb.variant = config.mainUser.variant;
enable = true;
displayManager.gdm.enable =
lib.mkIf (!config.custom.graphical.sddm.enable) true;
displayManager.gdm.enable = lib.mkIf (!config.custom.graphical.sddm.enable) true;
desktopManager.gnome.enable = true;
};
@@ -21,23 +29,26 @@ in {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
cheese
gedit # text editor
gnome-music
gnome-terminal
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
]);
environment.gnome.excludePackages = (
with pkgs;
[
gnome-photos
gnome-tour
cheese
gedit # text editor
gnome-music
gnome-terminal
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
]
);
environment.systemPackages = with pkgs; [
wmctrl