mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
use nix.settings
This commit is contained in:
parent
d93ac9ba6a
commit
afac7e637b
1 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
enabled,
|
enabled,
|
||||||
flake,
|
self,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -15,10 +15,10 @@ in
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
# nix.package = pkgs.nixVersions.latest;
|
# nix.package = pkgs.nixVersions.latest;
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
settings = {
|
||||||
experimental-features = nix-command flakes pipe-operator
|
experimental-features = [ "nix-command" "flakes" "pipe-operator"];
|
||||||
use-xdg-base-directories = true
|
use-xdg-base-directories = true;
|
||||||
'';
|
};
|
||||||
|
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -42,7 +42,7 @@ in
|
||||||
pkgs.nixfmt-rfc-style
|
pkgs.nixfmt-rfc-style
|
||||||
pkgs.nix-output-monitor
|
pkgs.nix-output-monitor
|
||||||
|
|
||||||
(flake.pkg "self")
|
self.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-index-database.comma = enabled;
|
programs.nix-index-database.comma = enabled;
|
||||||
|
|
Loading…
Reference in a new issue