Added alejandra
This commit is contained in:
parent
b071f6c695
commit
4bb96c16be
4 changed files with 97 additions and 48 deletions
38
flake.lock
38
flake.lock
|
@ -1,5 +1,26 @@
|
|||
{
|
||||
"nodes": {
|
||||
"alejandra": {
|
||||
"inputs": {
|
||||
"flakeCompat": "flakeCompat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1646107632,
|
||||
"narHash": "sha256-jhmNDzNICcXc0p+Esi+uWCL1wOkGDyrJGBa0IEnkE08=",
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"rev": "47cbeddfbf60f5b4bbf8723e90b6106ef5da3fbb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"cadquery-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -92,6 +113,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flakeCompat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1641205782,
|
||||
"narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ha-now-playing": {
|
||||
"inputs": {
|
||||
"naersk": [
|
||||
|
@ -324,6 +361,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"alejandra": "alejandra",
|
||||
"cq-flake": "cq-flake",
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"flake-utils": "flake-utils",
|
||||
|
|
|
@ -48,6 +48,11 @@
|
|||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
|
||||
alejandra = {
|
||||
url = "github:kamadorueda/alejandra";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
ha-now-playing = {
|
||||
url = "git+ssh://git@git.datarift.nl/erwin/ha-now-playing.git?ref=main";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{ lib, pkgs, config, flake-inputs, ... }:
|
||||
with lib;
|
||||
let cfg = config.eboskma.programs.vscode;
|
||||
in
|
||||
|
@ -10,10 +10,11 @@ in
|
|||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
extensions =
|
||||
(with pkgs.vscode-extensions; [
|
||||
arrterian.nix-env-selector
|
||||
bbenoist.nix
|
||||
brettm12345.nixfmt-vscode
|
||||
# brettm12345.nixfmt-vscode
|
||||
# aaronduino.nix-lsp
|
||||
# aliariff.auto-add-brackets
|
||||
bradlc.vscode-tailwindcss
|
||||
|
@ -55,7 +56,7 @@ in
|
|||
wholroyd.jinja
|
||||
xaver.clang-format
|
||||
zxh404.vscode-proto3
|
||||
];
|
||||
]);
|
||||
|
||||
keybindings = [
|
||||
{
|
||||
|
@ -78,6 +79,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
rnix-lsp
|
||||
shellcheck
|
||||
flake-inputs.alejandra.defaultPackage.${pkgs.system}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[nix]": {
|
||||
"editor.defaultFormatter": "aaronduino.nix-lsp"
|
||||
"editor.defaultFormatter": "kamadorueda.alejandra",
|
||||
"editor.formatOnPaste": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": false
|
||||
},
|
||||
"[python]": {
|
||||
"editor.tabSize": 4
|
||||
|
@ -38,6 +41,7 @@
|
|||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"alejandra.program": "alejandra",
|
||||
"docker.showStartPage": false,
|
||||
"editor.bracketPairColorization.enabled": true,
|
||||
"editor.cursorStyle": "line",
|
||||
|
|
Loading…
Reference in a new issue