36 lines
706 B
Nix
36 lines
706 B
Nix
{ ... }:
|
|
{
|
|
config.dendritic.features.system-nix = {
|
|
nixosModules = [
|
|
(
|
|
{ config, ... }:
|
|
|
|
let
|
|
user = config.dendritic.current.primaryUser;
|
|
in
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings = {
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
auto-optimise-store = true;
|
|
|
|
download-buffer-size = 262144000;
|
|
trusted-users = [ user ];
|
|
warn-dirty = false;
|
|
|
|
accept-flake-config = true;
|
|
};
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
time.timeZone = "America/Toronto";
|
|
}
|
|
)
|
|
];
|
|
};
|
|
}
|