mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move nix-env mask from systemPackages to bashrc
This commit is contained in:
parent
49d9ebb5e3
commit
be18d2f7c7
2 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,6 @@
|
|||
|
||||
systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ];
|
||||
|
||||
environment.systemPackages = [ (pkgs.writeShellScriptBin "nix-env" "exec echo nix-env is disabled") ];
|
||||
|
||||
zramSwap.enable = true;
|
||||
|
||||
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
||||
|
|
|
@ -86,6 +86,7 @@ in
|
|||
alias sha256sum-base32='nix hash-file --type sha256 --base32'
|
||||
alias pip_install='nix run nixpkgs.python3.pkgs.pip -c pip install --user -UI pip setuptools'
|
||||
alias catc='${pkgs.vimpager-latest}/bin/vimpager --force-passthrough'
|
||||
alias nix-env="echo nix-env is disabled #"
|
||||
|
||||
function _update_ps1() {
|
||||
PS1="\n$(${pkgs.powerline-go}/bin/powerline-go ${lib.concatStringsSep " " powerlineOpts})$ "
|
||||
|
|
Loading…
Reference in a new issue