Initial commit

This commit is contained in:
Inex Code 2023-08-29 02:01:23 +03:00
commit 6dde7da537
2 changed files with 162 additions and 0 deletions

104
flake.lock Normal file
View file

@ -0,0 +1,104 @@
{
"nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"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"
}
},
"nix-vscode-extensions": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1693099183,
"narHash": "sha256-Yit54LJIhFsWH4ATpuWAIm7fAZinkvB1wxk0i/LuWes=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "d11ffab0c514009179dbcdfee1c397bfaec2f2d4",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1684570954,
"narHash": "sha256-FX5y4Sm87RWwfu9PI71XFvuRpZLowh00FQpIJ1WfXqE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3005f20ce0aaa58169cdee57c8aa12e5f1b6e1b3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": [
"nix-vscode-extensions",
"flake-utils"
],
"nix-vscode-extensions": "nix-vscode-extensions",
"nixpkgs": [
"nix-vscode-extensions",
"nixpkgs"
]
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

58
flake.nix Normal file
View file

@ -0,0 +1,58 @@
{
inputs = {
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
flake-utils.follows = "nix-vscode-extensions/flake-utils";
nixpkgs.follows = "nix-vscode-extensions/nixpkgs";
};
outputs = inputs:
inputs.flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
extensions = inputs.nix-vscode-extensions.extensions.${system};
inherit (pkgs) vscode-with-extensions vscode;
packages.default =
vscode-with-extensions.override {
vscodeExtensions = [
pkgs.vscode-extensions.ms-vsliveshare.vsliveshare
pkgs.vscode-extensions.github.copilot
pkgs.vscode-extensions.ms-vscode-remote.remote-ssh
pkgs.vscode-extensions.eugleo.magic-racket
extensions.vscode-marketplace.arcticicestudio.nord-visual-studio-code
extensions.vscode-marketplace.bbenoist.nix
extensions.vscode-marketplace.davidanson.vscode-markdownlint
extensions.vscode-marketplace.dbaeumer.vscode-eslint
extensions.vscode-marketplace.james-yu.latex-workshop
extensions.vscode-marketplace.jnoortheen.nix-ide
extensions.vscode-marketplace.mhutchie.git-graph
extensions.vscode-marketplace.ms-azuretools.vscode-docker
extensions.vscode-marketplace.ms-python.vscode-pylance
extensions.vscode-marketplace.ms-python.python
extensions.vscode-marketplace.ms-toolsai.jupyter
extensions.vscode-marketplace.ms-vscode.cpptools
extensions.vscode-marketplace.github.github-vscode-theme
extensions.vscode-marketplace.dart-code.flutter
extensions.vscode-marketplace.dart-code.dart-code
extensions.vscode-marketplace.davidlday.languagetool-linter
extensions.vscode-marketplace.eamodio.gitlens
extensions.vscode-marketplace.ms-vscode-remote.remote-containers
extensions.vscode-marketplace.ms-python.pylint
extensions.vscode-marketplace.ms-python.flake8
];
};
devShells.default = pkgs.mkShell {
buildInputs = [ packages.default ];
shellHook = ''
printf "VS Code with extensions:\n"
code --list-extensions
'';
};
in
{
inherit packages devShells;
});
}