Files
nixos-config/modules/core.nix
Christoph Schmatzler 298bbfae53 tabs
Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
2025-11-02 11:36:27 +00:00

31 lines
537 B
Nix

{pkgs, ...}: {
programs.fish.enable = true;
nixpkgs = {
config = {
allowUnfree = true;
};
};
nix = {
package = pkgs.nix;
settings = {
trusted-users = [
"@admin"
];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = ["cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="];
};
gc = {
automatic = true;
options = "--delete-older-than 30d";
};
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}