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; hypridle.enable = true;
led.enable = true; led.enable = true;
code.enable = true;
gnome.enable = true; gnome.enable = true;
code.enable = true;
# code.enable = true;
imports = [ imports = [
./hardware.nix ./hardware.nix

View file

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

View file

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

View file

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

View file

@ -11,44 +11,42 @@
config = lib.mkIf config.gnome.enable { config = lib.mkIf config.gnome.enable {
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
environment.gnome.excludePackages = with pkgs; [ # environment.gnome.excludePackages = with pkgs; [
adwaita-icon-theme # gnome-backgrounds
# 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-bluetooth
gnome-backgrounds # gnome-color-manager
gnome-bluetooth # gnome-control-center
gnome-color-manager # gnome-shell-extensions
gnome-control-center # gnome-themes-extra
gnome-shell-extensions # gnome-tour
gnome-themes-extra # gnome-user-docs
pkgs.gnome-tour # GNOME Shell detects the .desktop file on first log-in. # orca
pkgs.gnome-user-docs # glib
pkgs.orca # gnome-menus
pkgs.glib # for gsettings program # gtk3.out
pkgs.gnome-menus # xdg-user-dirs
pkgs.gtk3.out # for gtk-launch program # baobab
pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ # epiphany
baobab # gnome-text-editor
epiphany # gnome-calculator
pkgs.gnome-text-editor # gnome-calendar
gnome-calculator # gnome-characters
gnome-calendar # gnome-clocks
gnome-characters # gnome-console
gnome-clocks # gnome-contacts
pkgs.gnome-console # gnome-font-viewer
gnome-contacts # gnome-logs
gnome-font-viewer # gnome-maps
gnome-logs # gnome-music
gnome-maps # gnome-system-monitor
gnome-music # gnome-weather
gnome-system-monitor # loupe
gnome-weather # nautilus
pkgs.loupe # gnome-connections
nautilus # simple-scan
pkgs.gnome-connections # snapshot
simple-scan # totem
pkgs.snapshot # yelp
totem # ];
yelp
];
}; };
} }