Refactor vscode-server configuration: move to a new file and remove obsolete default.nix
This commit is contained in:
parent
257bb81597
commit
90d44e3a1b
2 changed files with 13 additions and 12 deletions
13
home/toph/common/optional/vscode-server.nix
Normal file
13
home/toph/common/optional/vscode-server.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
|
||||
imports = [ inputs.vscode-server.homeModules.default ];
|
||||
|
||||
## ALLOWS VS CODE SERVER ##
|
||||
services.vscode-server.enable = true;
|
||||
services.vscode-server.enableFHS = true;
|
||||
# programs.nix-ld = {
|
||||
# enable = true;
|
||||
# package = pkgs.nix-ld-rs;
|
||||
# };
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
## ALLOWS VS CODE SERVER ##
|
||||
|
||||
services.vscode-server.enable = true;
|
||||
services.vscode-server.enableFHS = true;
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
package = pkgs.nix-ld-rs;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue