Samuel Shuert
3f3ac4306b
Available templates include the following: - system: flake based system similar to the default when starting nix. - darwin: flake based darwin system with ajusted nixpkgs and modules to better suit it. - home-manager: flake and home manager for non darwin systems. Co-Authored-by: isabelroses <isabel@isabelroses.com> Co-Authored-by: Skyler Grey <minion@clicks.codes> Co-Authored-by: Sigmanificient <edhyjox@gmail.com> Co-Authored-by: AxelSilverdew <7677954+AxelSilverdew@users.noreply.github.com>
25 lines
857 B
Nix
25 lines
857 B
Nix
{
|
|
# Auto upgrade nix package and the daemon service.
|
|
services.nix-daemon.enable = true;
|
|
|
|
nix.settings = {
|
|
# We need this to be able to use the nix-command and flakes features.
|
|
# these are essential to use this system configuration as a flake.
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
# this allows the system builder to use substitutes
|
|
builders-use-substitutes = true;
|
|
|
|
# we want these beacuse we don't have to build every package from source
|
|
substituters = [ "https://nix-community.cachix.org" ];
|
|
trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ];
|
|
|
|
# We also want to add our user, in this case "axel" to the trusted users
|
|
# this is important so that we can use the substituters with no issues
|
|
trusted-users = [ "axel" ];
|
|
};
|
|
}
|