fix vscode module
This commit is contained in:
parent
7a98d2833a
commit
473f015225
2 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.vscode = {
|
||||
pkgs,
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.vscode = lib.mkIf osConfig.services.displayManager.enable {
|
||||
enable = true;
|
||||
package = pkgs.vscodium-fhs;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
|
|
|
@ -25,5 +25,5 @@
|
|||
mvn = "mvn -gs ${config.xdg.configHome}/maven/settings.xml";
|
||||
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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue