mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move NIX_PATH from baseline to cli
This commit is contained in:
parent
7a6a3f76ba
commit
26e22d1ac8
2 changed files with 3 additions and 3 deletions
|
@ -13,13 +13,10 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
||||
|
||||
environment.etc.nixpkgs.source = pkgs.path;
|
||||
environment.systemPackages = map
|
||||
(x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config"))
|
||||
[ "switch" "build" "boot" ];
|
||||
|
||||
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"e /nix/var/log - - - 30d"
|
||||
"e /home/sean/Downloads - - - 9d"
|
||||
|
|
|
@ -80,6 +80,9 @@ in
|
|||
|
||||
];
|
||||
|
||||
environment.etc.nixpkgs.source = pkgs.path;
|
||||
nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ];
|
||||
|
||||
environment.etc."pip.conf".text = ''
|
||||
[install]
|
||||
no-warn-script-location = false
|
||||
|
|
Loading…
Reference in a new issue