mirror of https://gitlab.crans.org/nounous/nixos
32 lines
479 B
Nix
32 lines
479 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
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.forceImportAll = lib.mkDefault false;
|
|
boot.zfs.forceImportRoot = lib.mkDefault false;
|
|
}
|