mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 02:20:14 +01:00
copy vscode config to other user
This commit is contained in:
parent
29ea7db3aa
commit
72c6b8bd34
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
inputs@{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
## Apps
|
||||
|
@ -8,6 +8,7 @@
|
|||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
vscode = import ./vscode.nix inputs;
|
||||
|
||||
zsh = {
|
||||
history = {
|
56
home/ronja/vscode.nix
Normal file
56
home/ronja/vscode.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
enableUpdateCheck = false;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
bbenoist.nix
|
||||
ms-python.python
|
||||
kamadorueda.alejandra
|
||||
editorconfig.editorconfig
|
||||
yzhang.markdown-all-in-one
|
||||
redhat.vscode-yaml
|
||||
pkief.material-icon-theme
|
||||
rust-lang.rust-analyzer
|
||||
tamasfe.even-better-toml
|
||||
llvm-vs-code-extensions.vscode-clangd
|
||||
mkhl.direnv
|
||||
vadimcn.vscode-lldb
|
||||
ms-dotnettools.csharp
|
||||
ms-vscode-remote.remote-ssh
|
||||
];
|
||||
userSettings = {
|
||||
"files.autoSave" = "afterDelay";
|
||||
"files.autoSaveWhenNoErrors" = true;
|
||||
"files.autoSaveWorkspaceFilesOnly" = true;
|
||||
|
||||
"editor.fontFamily" = "'Fira Code', 'Droid Sans Mono', 'monospace', monospace";
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.formatOnSaveMode" = "modificationsIfAvailable";
|
||||
"editor.minimap.autohide" = true;
|
||||
|
||||
"workbench.startupEditor" = "readme";
|
||||
"workbench.enableExperiments" = false;
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
|
||||
"update.mode" = "none";
|
||||
"extensions.autoUpdate" = false;
|
||||
"extensions.autoCheckUpdates" = false;
|
||||
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
"redhat.telemetry.enabled" = false;
|
||||
|
||||
"git.autofetch" = true;
|
||||
"diffEditor.diffAlgorithm" = "advanced";
|
||||
"explorer.excludeGitIgnore" = true;
|
||||
"markdown.extension.tableFormatter.normalizeIndentation" = true;
|
||||
"markdown.extension.toc.orderedList" = false;
|
||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||
|
||||
"\[makefile\]" = {
|
||||
"editor.insertSpaces" = false;
|
||||
"editor.detectIndentation" = false;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -24,7 +24,7 @@ nixpkgs.lib.nixosSystem {
|
|||
}
|
||||
|
||||
{
|
||||
home-manager.users.ronja = import ../../home/ronja.nix;
|
||||
home-manager.users.ronja = import ../../home/ronja;
|
||||
|
||||
users.users.ronja.openssh.authorizedKeys.keys = [
|
||||
];
|
||||
|
|
|
@ -38,7 +38,7 @@ nixpkgs.lib.nixosSystem {
|
|||
{
|
||||
home-manager.users = {
|
||||
vinzenz = import ../../home/vinzenz;
|
||||
ronja = import ../../home/ronja.nix;
|
||||
ronja = import ../../home/ronja;
|
||||
};
|
||||
|
||||
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
||||
|
|
|
@ -15,5 +15,9 @@
|
|||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
allowedUnfreePackages = [
|
||||
"vscode-extension-ms-vscode-remote-remote-ssh"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue