Improve Path to rust tooling
This commit is contained in:
parent
2888cf2f04
commit
028f99e924
|
@ -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
|
||||
|
|
|
@ -76,6 +76,7 @@ in {
|
|||
(makeBlock [ ])
|
||||
];
|
||||
orga = apolloConfig [
|
||||
./orga.nix
|
||||
./mail-client.nix
|
||||
./accounting.nix
|
||||
./pythia.nix
|
||||
|
|
6
home/orga.nix
Normal file
6
home/orga.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, config, ... }: {
|
||||
home.packages = [
|
||||
(pkgs.writeShellScriptBin "kassandra"
|
||||
''exec ${config.home.homeDirectory}/.cargo/bin/kassandra "$@"'')
|
||||
];
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue