From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- snowfall/modules/home/apps/vscode/default.nix | 75 --------------------------- 1 file changed, 75 deletions(-) delete mode 100644 snowfall/modules/home/apps/vscode/default.nix (limited to 'snowfall/modules/home/apps/vscode') diff --git a/snowfall/modules/home/apps/vscode/default.nix b/snowfall/modules/home/apps/vscode/default.nix deleted file mode 100644 index bf4b5da..0000000 --- a/snowfall/modules/home/apps/vscode/default.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ options, config, lib, pkgs, namespace, ... }: - -with lib; with lib.${namespace}; let - cfg = config.${namespace}.apps.vscode; -in { - options.${namespace}.apps.vscode = with types; { - enable = mkEnableOption "vscode"; - }; - - config = mkIf cfg.enable { - programs.vscode = { - enable = true; - package = pkgs.vscodium; - - extensions = with pkgs.vscode-extensions; [ - jdinhlife.gruvbox - vscode-icons-team.vscode-icons - - jnoortheen.nix-ide - golang.go - ziglang.vscode-zig - ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ - { - name = "shader"; - publisher = "slevesque"; - version = "1.1.5"; - sha256 = "sha256-Pf37FeQMNlv74f7LMz9+CKscF6UjTZ7ZpcaZFKtX2ZM="; - } - { - name = "yuck"; - publisher = "eww-yuck"; - version = "0.0.3"; - sha256 = "sha256-DITgLedaO0Ifrttu+ZXkiaVA7Ua5RXc4jXQHPYLqrcM="; - } - ]; - - userSettings = { - "workbench.colorTheme" = "Gruvbox Dark Medium"; - "workbench.iconTheme" = "vscode-icons"; - "window.titleBarStyle" = "custom"; - "editor.fontFamily" = "monospace"; - - "git.confirmSync" = false; - - "vsicons.dontShowNewVersionMessage" = true; - - "files.associations" = { - "*.vsh" = "glsl"; - "*.fsh" = "glsl"; - "*.gsh" = "glsl"; - }; - - # Zig - "zig.initialSetupDone" = true; - "zig.path" = ""; - "zig.formattingProvider" = "off"; - - "zig.zls.path" = ""; - "zig.zls.enableAutofix" = false; - "zig.zls.enableInlayHints" = false; - }; - }; - - xdg.desktopEntries.nixeditor = { - name = "NixOS Config"; - genericName = "Edit in VSCode"; - icon = "nix-snowflake"; - exec = "${pkgs.vscodium}/bin/codium /etc/nixos"; - }; - - home.shellAliases = { - "c" = "codium ."; - }; - }; -} -- cgit v1.2.3