1
0
Fork 0

Improve Path to rust tooling

This commit is contained in:
Malte Brandy 2020-06-09 10:13:32 +02:00
parent 2888cf2f04
commit 028f99e924
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
4 changed files with 10 additions and 2 deletions

View file

@ -133,8 +133,7 @@ in {
home = {
packages = builtins.attrValues pkgs.home-pkgs;
sessionVariables = {
PATH =
"$HOME/.cargo/bin:/etc/profiles/per-user/${config.home.username}/bin:$HOME/.nix-profile/bin:$PATH";
PATH = "$HOME/.nix-profile/bin:$PATH";
BROWSER = "${pkgs.firefox}/bin/firefox";
EMAIL = me.mail;
SUDO_ASKPASS = let

View file

@ -76,6 +76,7 @@ in {
(makeBlock [ ])
];
orga = apolloConfig [
./orga.nix
./mail-client.nix
./accounting.nix
./pythia.nix

6
home/orga.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, config, ... }: {
home.packages = [
(pkgs.writeShellScriptBin "kassandra"
''exec ${config.home.homeDirectory}/.cargo/bin/kassandra "$@"'')
];
}

View file

@ -30,6 +30,8 @@ self: super: {
inherit (self.gnome3)
dconf dconf-editor gnome-tweaks gnome-shell-extensions adwaita-icon-theme
gnome-session;
hotkeys = super.writeShellScriptBin "hotkeys"
''exec /home/maralorn/.cargo/bin/hotkeys "$@"'';
};
home-pkgs = {
inherit (self.pythonPackages) yapf jsbeautifier;