Fix formatting and disable latest kernel for now

This commit is contained in:
Aaron Honeycutt 2024-01-08 21:26:06 +00:00
parent c54b962282
commit 9607edafc8

View file

@ -25,60 +25,60 @@
./hardware-configuration.nix ./hardware-configuration.nix
({config, pkgs, ...}: { ({config, pkgs, ...}: {
nix = { nix = {
settings.auto-optimise-store = true; settings.auto-optimise-store = true;
settings.experimental-features = [ "nix-command" "flakes" ]; settings.experimental-features = [ "nix-command" "flakes" ];
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
}; };
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; #kernelPackages = pkgs.linuxPackages_latest;
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
systemd-boot.consoleMode = "0"; systemd-boot.consoleMode = "0";
}; };
}; };
networking = { networking = {
hostName = "vm"; hostName = "vm";
networkmanager.enable = true; networkmanager.enable = true;
}; };
users.users.aaronh = { users.users.aaronh = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
cargo cargo
git git
git-lfs git-lfs
]; ];
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
git-lfs git-lfs
neofetch neofetch
tree tree
wget wget
]; ];
services.openssh = { services.openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "no"; settings.PermitRootLogin = "no";
}; };
system = { system = {
stateVersion = "23.11"; stateVersion = "23.11";
autoUpgrade.enable = true; autoUpgrade.enable = true;
}; };
}) })
]; ];
}; };