32 lines
589 B
Nix
32 lines
589 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
|
|
# Set kernel to latest
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
##### nix extra options #######
|
|
|
|
nix = {
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
keep-outputs = true
|
|
keep-derivations = true
|
|
'';
|
|
# package = pkgs.nixFlakes;
|
|
# gc = {
|
|
# automatic = true;
|
|
# dates = "weekly";
|
|
# options = "--delete-older-than 7d";
|
|
# persistent = true;
|
|
# };
|
|
settings.auto-optimise-store = true;
|
|
};
|
|
|
|
#### extra network ####
|
|
#networking.extraHosts =
|
|
# ''
|
|
# 10.8.0.1 auth.w3n.cc
|
|
# '';
|
|
#
|
|
}
|