diff --git a/flake.lock b/flake.lock index 9a5f72e..2a7bf54 100644 --- a/flake.lock +++ b/flake.lock @@ -124,24 +124,6 @@ "type": "github" } }, - "flake-utils_2": { - "inputs": { - "systems": "systems_5" - }, - "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -618,8 +600,7 @@ "nixpkgs": "nixpkgs", "nixvim": "nixvim", "osbm-nvim": "osbm-nvim", - "raspberry-pi-nix": "raspberry-pi-nix", - "vscode-server": "vscode-server" + "raspberry-pi-nix": "raspberry-pi-nix" } }, "rpi-bluez-firmware-src": { @@ -817,21 +798,6 @@ "type": "github" } }, - "systems_5": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "utils": { "inputs": { "systems": "systems_2" @@ -849,27 +815,6 @@ "repo": "flake-utils", "type": "github" } - }, - "vscode-server": { - "inputs": { - "flake-utils": "flake-utils_2", - "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", diff --git a/flake.nix b/flake.nix index 69d93d0..0ffb4a2 100644 --- a/flake.nix +++ b/flake.nix @@ -41,10 +41,6 @@ raspberry-pi-nix = { url = "github:nix-community/raspberry-pi-nix"; }; - vscode-server = { - url = "github:nix-community/nixos-vscode-server"; - inputs.nixpkgs.follows = "nixpkgs"; - }; deploy-rs = { url = "github:serokell/deploy-rs"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/services/vscode-server.nix b/modules/services/vscode-server.nix index 46a9580..ef807e7 100644 --- a/modules/services/vscode-server.nix +++ b/modules/services/vscode-server.nix @@ -1,7 +1,10 @@ -{inputs, ...}: { - imports = [ - inputs.vscode-server.nixosModules.default - ]; - - services.vscode-server.enable = true; +{ + services.code-server = { + enable = true; + port = 4444; + disableTelemetry = true; + disableUpdateCheck = true; + host = "localhost"; + hashedPassword = "$argon2i$v=19$m=4096,t=3,p=1$dGc0TStGMDNzSS9JRkJYUFp3d091Q2p0bXlzPQ$zvdE9BkclkJmyFaenzPy2E99SEqsyDMt4IQNZfcfFFQ"; + }; }