From 51d8ee28872bde88a0747358923b813bcde6cf97 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Fri, 27 Dec 2024 01:35:22 -0500 Subject: [PATCH] added latest linux kernel, added comments --- modules/machine/cloud/configuration.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/machine/cloud/configuration.nix b/modules/machine/cloud/configuration.nix index df3b495..cde372b 100644 --- a/modules/machine/cloud/configuration.nix +++ b/modules/machine/cloud/configuration.nix @@ -4,8 +4,8 @@ pkgs, userName, ... -}: - let flatpakPackages = [ +}: let + flatpakPackages = [ "com.github.tchx84.Flatseal" "com.slack.Slack" "info.beyondallreason.bar" @@ -32,7 +32,8 @@ in { # Enable flakes for NixOS nix.settings.experimental-features = ["nix-command" "flakes"]; - # Utilize systemd-boot + # Custom kernel/boot stuff + boot.kernelPackages = pkgs.linuxPackages_latest; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -42,9 +43,6 @@ in { # Set your timezone time.timeZone = "America/Detroit"; - # Enable touchpad - services.libinput.enable = true; - # Install packages to be installed system-wide environment.systemPackages = with pkgs; [ vim @@ -83,6 +81,7 @@ in { # Enable Polkit security.polkit.enable = true; + # Graphics module (../../graphics/default.nix) graphics = { enable = true; gpuVendor = "nvidia"; # or "amd" or "intel" @@ -127,6 +126,7 @@ in { powertop.enable = false; }; + # Podman module (see ../../virtualization/podman.nix) podman = { enable = true; extraPackages = with pkgs; [ @@ -139,6 +139,7 @@ in { ]; }; + # Core networking module (see ../../networking/core.nix) networking = { firewall.enable = true; networkmanager.enable = true;