Rust support for idea

This commit is contained in:
2022-05-10 00:51:19 +01:00
parent 95968b9088
commit f77c16ad28
3 changed files with 25 additions and 8 deletions

12
flake.lock generated
View File

@@ -22,11 +22,11 @@
]
},
"locked": {
"lastModified": 1651531343,
"narHash": "sha256-DBJFMNlWcht3jdKE2KVbcy1g/e/yryrSs1qSViQd4lE=",
"lastModified": 1651886851,
"narHash": "sha256-kbXOJSf1uho0/7P54nZkJdJY3oAelIjyc6tfiRhaXJI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "0304f0f58b4c538ff704c58d53a778b062810ec7",
"rev": "882bd8118bdbff3a6e53e5ced393932b351ce2f6",
"type": "github"
},
"original": {
@@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1651007983,
"narHash": "sha256-GNay7yDPtLcRcKCNHldug85AhAvBpTtPEJWSSDYBw8U=",
"lastModified": 1651726670,
"narHash": "sha256-dSGdzB49SEvdOJvrQWfQYkAefewXraHIV08Vz6iDXWQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e10da1c7f542515b609f8dfbcf788f3d85b14936",
"rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01",
"type": "github"
},
"original": {

View File

@@ -6,6 +6,21 @@
headless,
...
}: let
idea = with pkgs;
symlinkJoin {
name = "idea-ultimate";
paths = [
jetbrains.idea-ultimate
];
buildInputs = [makeWrapper];
postBuild = ''
wrapProgram $out/bin/idea-ultimate --prefix PATH : ${symlinkJoin {
name = "rust-toolchain";
paths = [rustc cargo];
}}/bin
'';
};
cliPackages = with pkgs; [
aerc
direnv
@@ -37,7 +52,7 @@
discord
feh
iosevka
jetbrains.goland
idea
mpv
nerdfonts
pamixer
@@ -68,6 +83,8 @@ in {
file = {
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
".rust".source = pkgs.rustPlatform.rustcSrc;
"bin/update" = {
source = ../../scripts/update;
executable = true;

View File

@@ -12,7 +12,7 @@
};
};
programs.kitty.font.size = 17;
programs.kitty.font.size = 19;
services.picom = {
enable = true;