fix vscode module

This commit is contained in:
Chris Dombroski 2024-09-21 20:30:34 -04:00
parent 7a98d2833a
commit 473f015225
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,11 @@
{ pkgs, ... }:
{ {
programs.vscode = { pkgs,
osConfig,
lib,
...
}:
{
programs.vscode = lib.mkIf osConfig.services.displayManager.enable {
enable = true; enable = true;
package = pkgs.vscodium-fhs; package = pkgs.vscodium-fhs;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [

View file

@ -25,5 +25,5 @@
mvn = "mvn -gs ${config.xdg.configHome}/maven/settings.xml"; mvn = "mvn -gs ${config.xdg.configHome}/maven/settings.xml";
wget = "wget --hsts-file=${config.xdg.dataHome}/wget-hsts"; wget = "wget --hsts-file=${config.xdg.dataHome}/wget-hsts";
}; };
gtk.gtk2.configLocation = lib.mkIf osConfig.displayManager.enable "${config.xdg.configHome}/gtk-2.0/gtkrc"; gtk.gtk2.configLocation = lib.mkIf osConfig.services.displayManager.enable "${config.xdg.configHome}/gtk-2.0/gtkrc";
} }