test vscode
This commit is contained in:
parent
085366ae38
commit
2b9cf7362c
@ -12,9 +12,13 @@
|
||||
url = "github:oxalica/nil/2023-08-09";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
vscode-server = {
|
||||
url = "github:nix-community/nixos-vscode-server";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, nil, ... }:
|
||||
outputs = { nixpkgs, home-manager, nil, vscode-server, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
@ -27,12 +31,14 @@
|
||||
modules = [
|
||||
./home.nix
|
||||
./programs.nix
|
||||
./services.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = {
|
||||
nil = nil.packages.${system};
|
||||
vscode-server = vscode-server.pakcages.${system};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
7
services.nix
Normal file
7
services.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
<vscode-server>/modules/vscode-server/home.nix
|
||||
];
|
||||
|
||||
services.vscode-server.enable = true;
|
||||
}
|
Reference in New Issue
Block a user