added latest linux kernel, added comments

This commit is contained in:
Wyatt J. Miller 2024-12-27 01:35:22 -05:00
parent 86970a7f6c
commit 51d8ee2887

View File

@ -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;