inputs/nixos-vscode-server: move to inputs
This commit is contained in:
parent
627b4e00b6
commit
f39c0b54d0
3 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
../nix-os/services/nix-binary-cache.nix
|
../nix-os/services/nix-binary-cache.nix
|
||||||
../nix-os/udev.nix
|
../nix-os/udev.nix
|
||||||
|
|
||||||
(builtins.fetchTarball "https://github.com/nix-community/nixos-vscode-server/tarball/fc900c16efc6a5ed972fb6be87df018bcf3035bc")
|
"${inputs.nixos-vscode-server}"
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -5,6 +5,11 @@ let self = {
|
||||||
|
|
||||||
{
|
{
|
||||||
inherit lock;
|
inherit lock;
|
||||||
|
nixos-vscode-server = builtins.fetchTarball {
|
||||||
|
name = "nixos-vscode-server";
|
||||||
|
url = "https://github.com/nix-community/nixos-vscode-server/archive/${lock.nixos-vscode-server.revision}.tar.gz";
|
||||||
|
sha256 = "${lock.nixos-vscode-server.sha256}";
|
||||||
|
};
|
||||||
nixpkgs = builtins.fetchTarball {
|
nixpkgs = builtins.fetchTarball {
|
||||||
name = "nixpkgs";
|
name = "nixpkgs";
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/${lock.nixpkgs.revision}.tar.gz";
|
url = "https://github.com/NixOS/nixpkgs/archive/${lock.nixpkgs.revision}.tar.gz";
|
||||||
|
|
4
lock.nix
4
lock.nix
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
nixos-vscode-server = {
|
||||||
|
revision = "fc900c16efc6a5ed972fb6be87df018bcf3035bc";
|
||||||
|
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
|
||||||
|
};
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
revision = "10c832d0548e9e3a6df7eb51e68c2783212a303e";
|
revision = "10c832d0548e9e3a6df7eb51e68c2783212a303e";
|
||||||
sha256 = "1p206hgfxbz0rmkzaslfrknbdss4n4dnb09pi5466h8ksmm8216q";
|
sha256 = "1p206hgfxbz0rmkzaslfrknbdss4n4dnb09pi5466h8ksmm8216q";
|
||||||
|
|
Loading…
Reference in a new issue