mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
use the same nixpkgs
This commit is contained in:
parent
e4a304c274
commit
0a54af8cc7
1 changed files with 15 additions and 9 deletions
|
@ -14,16 +14,22 @@ in
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
# nix.package = pkgs.nixVersions.latest;
|
# nix.package = pkgs.nixVersions.latest;
|
||||||
nix.extraOptions = ''
|
nix = {
|
||||||
experimental-features = nix-command flakes
|
extraOptions = ''
|
||||||
use-xdg-base-directories = true
|
experimental-features = nix-command flakes
|
||||||
'';
|
use-xdg-base-directories = true
|
||||||
|
'';
|
||||||
|
|
||||||
|
optimise.automatic = true;
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
|
|
||||||
|
# use the same nixpkgs for nix run "nixpkgs#hello" style commands
|
||||||
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
|
||||||
nix.optimise.automatic = true;
|
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "weekly";
|
|
||||||
options = "--delete-older-than 7d";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
Loading…
Reference in a new issue