This commit is contained in:
joy 2024-10-08 15:59:17 +02:00
parent b7d1e3a80f
commit 753771d3d7
5 changed files with 41 additions and 42 deletions

View file

@ -3,8 +3,9 @@
hypridle.enable = true;
led.enable = true;
code.enable = true;
gnome.enable = true;
code.enable = true;
# code.enable = true;
imports = [
./hardware.nix

View file

@ -3,7 +3,6 @@
./alacritty
./mpv
./firefox
./code
./git
./helix
./newsboat

View file

@ -8,7 +8,7 @@
code.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.code.enable {
programs.vscode = {
home-manager.users.joy.programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [

View file

@ -5,5 +5,6 @@
./nemo
./misc
./mutt
./code
];
}

View file

@ -11,44 +11,42 @@
config = lib.mkIf config.gnome.enable {
services.xserver.desktopManager.gnome.enable = true;
environment.gnome.excludePackages = with pkgs; [
adwaita-icon-theme
# nixos-background-info This can't be excluded since it's defined locally. So even if we removed all GNOME backgrounds it seems we have to keep the NixOS one.
gnome-backgrounds
gnome-bluetooth
gnome-color-manager
gnome-control-center
gnome-shell-extensions
gnome-themes-extra
pkgs.gnome-tour # GNOME Shell detects the .desktop file on first log-in.
pkgs.gnome-user-docs
pkgs.orca
pkgs.glib # for gsettings program
pkgs.gnome-menus
pkgs.gtk3.out # for gtk-launch program
pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
baobab
epiphany
pkgs.gnome-text-editor
gnome-calculator
gnome-calendar
gnome-characters
gnome-clocks
pkgs.gnome-console
gnome-contacts
gnome-font-viewer
gnome-logs
gnome-maps
gnome-music
gnome-system-monitor
gnome-weather
pkgs.loupe
nautilus
pkgs.gnome-connections
simple-scan
pkgs.snapshot
totem
yelp
];
# environment.gnome.excludePackages = with pkgs; [
# gnome-backgrounds
# gnome-bluetooth
# gnome-color-manager
# gnome-control-center
# gnome-shell-extensions
# gnome-themes-extra
# gnome-tour
# gnome-user-docs
# orca
# glib
# gnome-menus
# gtk3.out
# xdg-user-dirs
# baobab
# epiphany
# gnome-text-editor
# gnome-calculator
# gnome-calendar
# gnome-characters
# gnome-clocks
# gnome-console
# gnome-contacts
# gnome-font-viewer
# gnome-logs
# gnome-maps
# gnome-music
# gnome-system-monitor
# gnome-weather
# loupe
# nautilus
# gnome-connections
# simple-scan
# snapshot
# totem
# yelp
# ];
};
}