moving towards modules...

This commit is contained in:
Gerg-L 2023-02-20 22:28:01 -05:00
parent 32bf78aa36
commit f911f3f44d
18 changed files with 288 additions and 237 deletions

53
modules/DE-WM/gnome.nix Normal file
View file

@ -0,0 +1,53 @@
_: {
config,
lib,
options,
pkgs,
...
}:
with lib; let
cfg = config.localModules.gnome;
in {
options.localModules.gnome = {
enable = mkEnableOption "";
};
config = mkIf cfg.enable {
environment.gnome.excludePackages =
(with pkgs; [
gnome-photos
gnome-tour
gnome-console
gnome-text-editor
gnome-online-accounts
])
++ (with pkgs.gnome; [
gnome-terminal
gnome-weather
gnome-shell
gnome-calculator
gnome-disk-utility
gnome-maps
gnome-clocks
gnome-remote-desktop
gnome-calendar
gnome-music
simple-scan
cheese # webcam tool
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
]);
services.xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager.defaultSession = "gnome";
};
};
}