WIP: rewrite config #618

Draft
darkkirb wants to merge 345 commits from rewrite into main
3 changed files with 35 additions and 2 deletions
Showing only changes of commit b762136ad6 - Show all commits

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,8 +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;
}