chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,10 +1,15 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.passthrough.vscode;
|
||||
theme = config.passthrough.catppuccin.enable;
|
||||
in mkIf cfg.enable {
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
mutableExtensionsDir = false;
|
||||
|
@ -12,8 +17,11 @@ in mkIf cfg.enable {
|
|||
enableExtensionUpdateCheck = false;
|
||||
package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc-icons
|
||||
bbenoist.nix golang.go rust-lang.rust-analyzer
|
||||
catppuccin.catppuccin-vsc
|
||||
catppuccin.catppuccin-vsc-icons
|
||||
bbenoist.nix
|
||||
golang.go
|
||||
rust-lang.rust-analyzer
|
||||
];
|
||||
userSettings = {
|
||||
"workbench.colorTheme" = mkIf theme "Catppuccin Mocha";
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.vscode;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.home.vscode = {
|
||||
enable = mkEnableOption "vscode text editor";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue