fix???????

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Cadey Ratio 2023-03-04 12:01:37 -05:00
parent e6dece72e2
commit 49259120d1
2 changed files with 30 additions and 1 deletions

View File

@ -644,6 +644,7 @@
"printerfacts": "printerfacts", "printerfacts": "printerfacts",
"rhea": "rhea", "rhea": "rhea",
"utils": "utils_4", "utils": "utils_4",
"vscode-server": "vscode-server",
"waifud": "waifud", "waifud": "waifud",
"wsl": "wsl", "wsl": "wsl",
"x": "x", "x": "x",
@ -735,6 +736,26 @@
"type": "github" "type": "github"
} }
}, },
"vscode-server": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1676501444,
"narHash": "sha256-H+uQetkzd5GIga56HmCDwl5eihdQgeN2jVdNrkXzDyo=",
"owner": "msteen",
"repo": "nixos-vscode-server",
"rev": "57f1716bc625d2892579294cc207956679e3d94c",
"type": "github"
},
"original": {
"owner": "msteen",
"repo": "nixos-vscode-server",
"type": "github"
}
},
"waifud": { "waifud": {
"inputs": { "inputs": {
"deno2nix": "deno2nix", "deno2nix": "deno2nix",

View File

@ -8,6 +8,11 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils"; utils.url = "github:numtide/flake-utils";
vscode-server = {
url = "github:msteen/nixos-vscode-server";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-overlay = { emacs-overlay = {
url = "github:nix-community/emacs-overlay"; url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -52,7 +57,7 @@
}; };
outputs = { self, nixpkgs, deploy-rs, home-manager, agenix, printerfacts, mara outputs = { self, nixpkgs, deploy-rs, home-manager, agenix, printerfacts, mara
, rhea, waifud, emacs-overlay, wsl, x, xesite, ... }: , rhea, waifud, emacs-overlay, wsl, x, xesite, vscode-server, ... }:
let let
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages."x86_64-linux";
@ -62,6 +67,7 @@
modules = [ modules = [
agenix.nixosModules.age agenix.nixosModules.age
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
vscode-server.nixosModule
({ config, ... }: { ({ config, ... }: {
system.configurationRevision = self.sourceInfo.rev; system.configurationRevision = self.sourceInfo.rev;
@ -75,6 +81,8 @@
(import ./overlays/tree-sitter-typescript.nix) (import ./overlays/tree-sitter-typescript.nix)
(import ./overlays/weechat.nix) (import ./overlays/weechat.nix)
]; ];
services.vscode-server.enable = true;
}) })
./common ./common