Make bootloader timeout instant, use run0 instead of sudo, reformat

This commit is contained in:
SIPB 2025-09-24 16:40:32 -04:00
parent 258e574190
commit 7d6204cad9

View file

@ -20,29 +20,38 @@
"flakes" "flakes"
]; ];
boot = {
loader = {
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
timeout = 0;
};
# Use latest kernel. # Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
};
networking.hostName = "nixos"; networking = {
networking.networkmanager.enable = true; hostName = "nixos";
networkmanager.enable = true;
};
services.desktopManager.plasma6.enable = true; services = {
services.displayManager.sddm = { desktopManager.plasma6.enable = true;
displayManager.sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
}; };
};
users.users.sipb = { users.users.sipb = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };
programs = { programs = {
kde-pim.enable = false; # Save some disk space
git.enable = true; git.enable = true;
fish.enable = true; fish.enable = true;
firefox.enable = true; firefox.enable = true;
@ -54,6 +63,9 @@
micro micro
]; ];
# Use run0 instead
security.sudo.enable = false;
# This option defines the first version of NixOS you have installed on this particular machine, # This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# #