Compare commits

..

2 commits

Author SHA1 Message Date
b762136ad6 add vscode-server
Some checks reported errors
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24515 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.not522 Hydra build #24516 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24513 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24514 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24512 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.thinkrac Hydra build #24520 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.rainbow-resort Hydra build #24519 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.pc-installer Hydra build #24518 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522-installer Hydra build #24517 of nixos-config:pr618:nixosConfigurations.not522-installer
2024-11-09 13:05:06 +01:00
6149476222 add vscode 2024-11-09 13:02:10 +01:00
4 changed files with 44 additions and 2 deletions

View file

@ -379,7 +379,8 @@
"pre-commit-hooks": "pre-commit-hooks",
"riscv-overlay": "riscv-overlay",
"sops-nix": "sops-nix",
"systems": "systems"
"systems": "systems",
"vscode-server": "vscode-server"
}
},
"sops-nix": {
@ -419,6 +420,29 @@
"repo": "default",
"type": "github"
}
},
"vscode-server": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729422940,
"narHash": "sha256-DlvJv33ml5UTKgu4b0HauOfFIoDx6QXtbqUF3vWeRCY=",
"owner": "nix-community",
"repo": "nixos-vscode-server",
"rev": "8b6db451de46ecf9b4ab3d01ef76e59957ff549f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-vscode-server",
"type": "github"
}
}
},
"root": "root",

View file

@ -71,6 +71,11 @@
inputs.nixpkgs-stable.follows = "nixpkgs";
};
systems.url = "github:nix-systems/default";
vscode-server = {
url = "github:nix-community/nixos-vscode-server";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {

View file

@ -1,5 +1,6 @@
_: {
{config, ...}: {
imports = [
./nvim
];
home-manager.users.darkkirb.imports = if config.isGraphical then [./vscode] else [];
}

View file

@ -0,0 +1,12 @@
{vscode-server, ...}: {
imports = [
"${vscode-server}/modules/vscode-server/home.nix"
];
programs.vscode = {
enable = true;
enableExtensionUpdateCheck = false;
enableUpdateCheck = false;
mutableExtensionsDir = false;
};
services.vscode-server.enable = true;
}