nixos/modules/default.nix

31 lines
411 B
Nix

{ ... }:
{
imports = [
./crans
./services
];
nix = {
settings = {
experimental-features = [
"flakes"
"nix-command"
];
auto-optimise-store = true;
};
};
nixpkgs.config = {
allowUnfree = true;
};
boot.tmp = {
useTmpfs = true;
cleanOnBoot = true;
};
# Recommandé depuis le passage à 26.05
boot.zfs.forceImportRoot = false;
}