add formatting and sops
All checks were successful
Hydra nixosConfigurations.not522 Hydra build #24542 of nixos-config:pr618:nixosConfigurations.not522
Hydra devShells.x86_64-linux.default Hydra build #24538 of nixos-config:pr618:devShells.x86_64-linux.default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24540 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24541 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24539 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.not522-installer Hydra build #24543 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra checks.x86_64-linux.containers-default Hydra build #24537 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.thinkrac Hydra build #24546 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.rainbow-resort Hydra build #24545 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.pc-installer Hydra build #24544 of nixos-config:pr618:nixosConfigurations.pc-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-09 15:26:52 +01:00
parent bb0abe5988
commit 73b74531a2

View file

@ -12,11 +12,19 @@
jnoortheen.nix-ide jnoortheen.nix-ide
mkhl.direnv mkhl.direnv
pkief.material-icon-theme pkief.material-icon-theme
signageos.signageos-vscode-sops
]; ];
userSettings = { userSettings = {
"editor.formatOnPaste" = true;
"editor.formatOnSave" = true;
"editor.formatOnType" = true;
"nix.enableLanguageServer" = true; "nix.enableLanguageServer" = true;
"nix.formatterPath" = "${pkgs.nixfmt-rfc-style}/bin/nixfmt"; "nix.formatterPath" = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
"nix.serverPath" = "${pkgs.nil}/bin/nil"; "nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = {
nil.formatting.command = [ "${pkgs.nixfmt-rfc-style}/bin/nixfmt" ];
};
"sops.binPath" = "${pkgs.sops}/bin/sops";
"workbench.iconTheme" = "material-icon-theme"; "workbench.iconTheme" = "material-icon-theme";
}; };
}; };