we got vscode now

This commit is contained in:
dusk 2021-01-02 16:21:55 +03:00
parent 63a724f656
commit b64e939886
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 39 additions and 9 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1609081855,
"narHash": "sha256-wxTOLR1BSMojbJ8N2pIsaf6+AD4WZNeCSP34OKiJfvE=",
"lastModified": 1609573857,
"narHash": "sha256-AlCR2ffY5ZOwwazzhM3BuQ5Z82JiNV4mur6p7RMoR6g=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "5263fe459413a411e51355bfae5b5673b481dbe3",
"rev": "73506f947c3a2f63306233358231b069865d1d56",
"type": "github"
},
"original": {
@ -58,11 +58,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1609120269,
"narHash": "sha256-gVPp8Pnxp9a2TE6FAU6fGR8IfLEFIft3r06OtJ/o3/0=",
"lastModified": 1609337051,
"narHash": "sha256-Rzo2IFMZKuMJ6waaGgIRMpbt2eHUjx3iByFdjG23buA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "950c5e1879e57d9aedf64db53b4ec6f59f2ac17f",
"rev": "ac02f26980ffc6a84844943cb2c303662225543a",
"type": "github"
},
"original": {

View File

@ -71,6 +71,9 @@ in
btrfs subvolume snapshot /mnt/root-blank /mnt/root
umount /mnt
'';
kernel.sysctl = {
"fs.inotify.max_user_watches" = 524288;
};
};
fileSystems."/" = {

View File

@ -16,8 +16,8 @@ let
kideSrc = pkgs.fetchgit {
url = "https://gitlab.com/yusdacra/kide.git";
rev = "cfb159181291a3322cfbc5f12f0046330105b7a0";
sha256 = "sha256-O3afZnJCTL/cuefmhwLw9gBPIBNuLk3ifqF726J9faE=";
rev = "2d76f8b668e7ff12fd686a101f0d26d50b6c0ece";
sha256 = "sha256-ONQmrJvNnmQ9W350od46VECW6Ir3KOMUJRnEMeVIsgg=";
fetchSubmodules = true;
};
kideFiles =
@ -219,7 +219,7 @@ in
wayland.windowManager = {
hikari = {
enable = true;
# enable = true;
inherit font;
};
sway = {
@ -667,6 +667,33 @@ in
}
'';
};
vscode = {
enable = true;
package = pkgs.vscodium;
extensions =
let
mkExt = n: v: p: s: { name = n; version = v; publisher = p; sha256 = s; };
in
pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# Rust
(mkExt "rust-analyzer" "0.2.432" "matklad" "sha256-XsJlfbvxVzI0wdwIvswLUWnmczCrpT+MtedmjxVOvso=")
(mkExt "even-better-toml" "0.10.0" "tamasfe" "sha256-miJ7gXYavLyJneKOSs+4GaFG4v6ocem2YOWyAUrOfs8=")
(mkExt "vscode-ron" "0.9.0" "a5huynh" "sha256-J30hxEYCkr4xhaJ+DfffjwRJZx9NGCOrA6VcDCsodzQ=")
(mkExt "crates" "0.5.3" "serayuzgur" "sha256-TpzeEPBE75Ov2qDPa22k7e0pTDLQX8z0qBqCVLZXZ/Y=")
# Nix
(mkExt "nix-env-selector" "0.1.2" "arrterian" "sha256-aTNxr1saUaN9I82UYCDsQvH9UBWjue/BSnUmMQOnsdg=")
(mkExt "nix-ide" "0.1.7" "jnoortheen" "sha256-NXMwd1Yi6kVxXLhWgzFOXQm580Mv4UPh6jUulbDnhK8=")
# Go
(mkExt "Go" "0.20.1" "golang" "sha256-UjGaePjYceLdkf2yrxkVy6ht2aStJ5wklguKe/Z8HUI=")
# Flutter and dart
(mkExt "flutter" "3.18.0" "Dart-Code" "sha256-nvKBPSe0+WQ8m88WrQqhzVrqYBjcBhiz6EuJ38gTFhQ=")
(mkExt "dart-code" "3.18.0" "Dart-Code" "sha256-E+qrY7wOvengOs2yKqhh+5dRLu3dUu6yWxGcwD7QHuI=")
# Customization
(mkExt "dance" "0.3.2" "gregoire" "sha256-+g8EXeCkPOPvZ60JoXkGTeSXYWrXmKrcbUaEfDppdgA=")
(mkExt "material-icon-theme" "4.4.0" "PKief" "sha256-yiM+jtc7UW8PQTwmHmXHSSmvYC73GLh/cLYnmYqONdU=")
(mkExt "noctis" "10.39.1" "liviuschera" "sha256-Ak1DcfyK0RdPx81flWBXJxtDsZmulQXeOWFH0b2AoCQ=")
];
};
};
services = {