Add network configuration in a different module
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
{
|
||||
# Kernel configuration
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = [ "zfs.zfs_arc_max=536870912" ];
|
||||
kernelModules = [ "i915" "acpi_call" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
@@ -44,4 +45,15 @@
|
||||
# Clean tmp directory on shutdown
|
||||
boot.cleanTmpDir = true;
|
||||
|
||||
# Rotate logs after 7 days
|
||||
services.journald.extraConfig = "SystemMaxFiles=7";
|
||||
|
||||
# Allow propietary software
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Import other configuration modules
|
||||
imports = [
|
||||
./modules/networking.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user