32 lines
438 B
Nix
32 lines
438 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./modules.nix
|
|
./users.nix
|
|
./networking.nix
|
|
];
|
|
|
|
nix.settings = {
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
auto-optimise-store = true;
|
|
};
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
|
|
swapDevices = [
|
|
{
|
|
device = "/swap";
|
|
size = 8192;
|
|
}
|
|
];
|
|
}
|