36 lines
701 B
Nix
36 lines
701 B
Nix
{
|
|
pkgs,
|
|
allowUnfree,
|
|
builder,
|
|
sshExtraConfig,
|
|
...
|
|
}: {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
../../modules/system.nix
|
|
../../modules/display-manager.nix
|
|
../../modules/app.nix
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
wget
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = allowUnfree;
|
|
|
|
nix.settings = {
|
|
trusted-users = builder.trustedUsers;
|
|
experimental-features = ["nix-command" "flakes"];
|
|
};
|
|
|
|
programs.ssh.extraConfig = sshExtraConfig;
|
|
|
|
nix.distributedBuilds = true;
|
|
nix.settings.builders-use-substitutes = true;
|
|
|
|
# nix.buildMachines = builder.buildMachines;
|
|
system.stateVersion = "25.05";
|
|
}
|