add cachix

This commit is contained in:
Osman Faruk Bayram 2024-12-05 21:22:00 +03:00
parent 85cc1c6b57
commit 9ea006416b
2 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,8 @@
# enable nix flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = [ "root", "osbm" ];
nix.gc = {
automatic = true;
dates = "weekly";

View file

@ -1,5 +1,14 @@
{
description = "My system configuration";
nixConfig = {
extra-substituters = [
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";