Compare commits
3 commits
286368b754
...
08e09ce55b
Author | SHA1 | Date | |
---|---|---|---|
|
08e09ce55b | ||
|
2cad2dd614 | ||
|
6b2871b27f |
|
@ -20,16 +20,29 @@ in
|
||||||
];
|
];
|
||||||
mutableExtensionsDir = false;
|
mutableExtensionsDir = false;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"[go]" = {
|
|
||||||
"editor.defaultFormatter" = "golang.go";
|
|
||||||
"editor.formatOnSave" = false;
|
|
||||||
};
|
|
||||||
"extensions.autoUpdate" = false;
|
"extensions.autoUpdate" = false;
|
||||||
|
"files.insertFinalNewline" = true;
|
||||||
"git.autofetch" = true;
|
"git.autofetch" = true;
|
||||||
"git.confirmSync" = false;
|
"git.confirmSync" = false;
|
||||||
"git.enableSmartCommit" = true;
|
"git.enableSmartCommit" = true;
|
||||||
"git.inputValidation" = true;
|
"git.inputValidation" = true;
|
||||||
"git.inputValidationSubjectLength" = null;
|
"git.inputValidationSubjectLength" = null;
|
||||||
|
"javascript.updateImportsOnFileMove.enabled" = "always";
|
||||||
|
"nix.enableLanguageServer" = true;
|
||||||
|
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||||
|
"nix.serverSettings".nil = {
|
||||||
|
diagnostics.ignored = [ "unused_binding" "unused_with" ];
|
||||||
|
formatting.command = [ "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt" ];
|
||||||
|
nix.flake.autoArchive = true;
|
||||||
|
};
|
||||||
|
"terminal.integrated.allowChords" = false;
|
||||||
|
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||||
|
"workbench.colorTheme" = "Gruvbox Dark Medium";
|
||||||
|
|
||||||
|
"[go]" = {
|
||||||
|
"editor.defaultFormatter" = "golang.go";
|
||||||
|
"editor.formatOnSave" = false;
|
||||||
|
};
|
||||||
"go.alternateTools" = {
|
"go.alternateTools" = {
|
||||||
"go" = "${pkgs.go}/bin/go";
|
"go" = "${pkgs.go}/bin/go";
|
||||||
"golangci-lint" = "${pkgs.golangci-lint}/bin/golangci-lint";
|
"golangci-lint" = "${pkgs.golangci-lint}/bin/golangci-lint";
|
||||||
|
@ -43,17 +56,6 @@ in
|
||||||
"formatting.gofumpt" = true;
|
"formatting.gofumpt" = true;
|
||||||
"ui.semanticTokens" = true;
|
"ui.semanticTokens" = true;
|
||||||
};
|
};
|
||||||
"javascript.updateImportsOnFileMove.enabled" = "always";
|
|
||||||
"nix.enableLanguageServer" = true;
|
|
||||||
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
|
||||||
"nix.serverSettings".nil = {
|
|
||||||
diagnostics.ignored = [ "unused_binding" "unused_with" ];
|
|
||||||
formatting.command = [ "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt" ];
|
|
||||||
nix.flake.autoArchive = true;
|
|
||||||
};
|
|
||||||
"terminal.integrated.allowChords" = false;
|
|
||||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
|
||||||
"workbench.colorTheme" = "Gruvbox Dark Medium";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,8 @@ in
|
||||||
console.keyMap = "uk";
|
console.keyMap = "uk";
|
||||||
services.xserver.xkb.layout = "gb";
|
services.xserver.xkb.layout = "gb";
|
||||||
|
|
||||||
# tohru does not have the resources to run these under other load and is generally powered off when not in use.
|
# tohru does not have the resources to run this under other load and is generally powered off when not in use.
|
||||||
# instead, just run `nix-collect-garbage -d` and `nix-store --optimise` every so often.
|
# instead, just run `nix-store --optimise` every so often.
|
||||||
nix.gc.automatic = mkForce false;
|
|
||||||
nix.optimise.automatic = mkForce false;
|
nix.optimise.automatic = mkForce false;
|
||||||
|
|
||||||
fountain.users.qenya.enable = true;
|
fountain.users.qenya.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue