first commit

This commit is contained in:
Ilan Joselevich
2023-05-15 21:47:22 +03:00
commit 770118247e
7 changed files with 249 additions and 0 deletions

25
profiles/nix-nixpkgs.nix Normal file
View File

@@ -0,0 +1,25 @@
{ inputs, ... }:
{
environment.etc."nix/flake-channels/nixpkgs".source = inputs.nixpkgs;
nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
nixPath = [ "nixpkgs=/etc/nix/flake-channels/nixpkgs" ];
settings = {
experimental-features = [ "nix-command" "flakes" ];
builders-use-substitutes = true;
auto-optimise-store = true;
warn-dirty = false;
trusted-users = [ "@wheel" ];
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
nixpkgs.config.allowUnfree = true;
}