Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-05 00:02:22 +01:00
parent b4768eef70
commit fad689f16d
7 changed files with 51 additions and 40 deletions

View file

@ -36,18 +36,18 @@ in
};
}];
shellInit =
''
# nix
if test -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
fenv source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
end
# home-manager
if test -e $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
fenv source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
end
'';
# shellInit =
# ''
# # nix
# if test -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
# fenv source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
# end
#
# # home-manager
# if test -e $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
# fenv source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
# end
# '';
};
};
}

View file

@ -71,7 +71,6 @@ in
environment.systemPackages = with pkgs; [
bat
cachix
cardpeek
ccache
clang
@ -88,7 +87,7 @@ in
gnomeExtensions.vitals
gnupg
go
jetbrains-toolbox
jetbrains-toolbox
jq
kbfs
keybase

View file

@ -61,7 +61,6 @@ in
auto-optimise-store = true;
trusted-users = users;
allowed-users = users;
allowUnfree = true;
substituters =
[ cfg.default-substituter.url ]