Improve Path to rust tooling
This commit is contained in:
parent
2888cf2f04
commit
028f99e924
|
@ -133,8 +133,7 @@ in {
|
||||||
home = {
|
home = {
|
||||||
packages = builtins.attrValues pkgs.home-pkgs;
|
packages = builtins.attrValues pkgs.home-pkgs;
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
PATH =
|
PATH = "$HOME/.nix-profile/bin:$PATH";
|
||||||
"$HOME/.cargo/bin:/etc/profiles/per-user/${config.home.username}/bin:$HOME/.nix-profile/bin:$PATH";
|
|
||||||
BROWSER = "${pkgs.firefox}/bin/firefox";
|
BROWSER = "${pkgs.firefox}/bin/firefox";
|
||||||
EMAIL = me.mail;
|
EMAIL = me.mail;
|
||||||
SUDO_ASKPASS = let
|
SUDO_ASKPASS = let
|
||||||
|
|
|
@ -76,6 +76,7 @@ in {
|
||||||
(makeBlock [ ])
|
(makeBlock [ ])
|
||||||
];
|
];
|
||||||
orga = apolloConfig [
|
orga = apolloConfig [
|
||||||
|
./orga.nix
|
||||||
./mail-client.nix
|
./mail-client.nix
|
||||||
./accounting.nix
|
./accounting.nix
|
||||||
./pythia.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)
|
inherit (self.gnome3)
|
||||||
dconf dconf-editor gnome-tweaks gnome-shell-extensions adwaita-icon-theme
|
dconf dconf-editor gnome-tweaks gnome-shell-extensions adwaita-icon-theme
|
||||||
gnome-session;
|
gnome-session;
|
||||||
|
hotkeys = super.writeShellScriptBin "hotkeys"
|
||||||
|
''exec /home/maralorn/.cargo/bin/hotkeys "$@"'';
|
||||||
};
|
};
|
||||||
home-pkgs = {
|
home-pkgs = {
|
||||||
inherit (self.pythonPackages) yapf jsbeautifier;
|
inherit (self.pythonPackages) yapf jsbeautifier;
|
||||||
|
|
Loading…
Reference in a new issue