chore: document non-target disks and harden NixOS base config
Co-authored-by: aider (openrouter/openai/gpt-5.2) <aider@aider.chat>
This commit is contained in:
@@ -75,11 +75,24 @@
|
||||
# flip this to true.
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
|
||||
# Explicitly enable firewall (keep SSH as the only opened port via openFirewall above).
|
||||
networking.firewall.enable = true;
|
||||
|
||||
# ---
|
||||
# dconf (helps portals/GTK apps)
|
||||
# ---
|
||||
programs.dconf.enable = true;
|
||||
|
||||
# Polkit is commonly required for a smooth experience with portals and desktop actions,
|
||||
# especially in minimal Wayland sessions.
|
||||
security.polkit.enable = true;
|
||||
|
||||
# ---
|
||||
# Firmware / microcode (stability)
|
||||
# ---
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
# ---
|
||||
# OpenGL (important for NVIDIA Wayland apps)
|
||||
# ---
|
||||
@@ -134,7 +147,10 @@
|
||||
# Wayland portals (refine later if screencast needs a different backend)
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
];
|
||||
};
|
||||
|
||||
# Minimal system packages needed for the session and core usability
|
||||
@@ -153,6 +169,7 @@
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
hardware.nvidia.nvidiaSettings = true;
|
||||
hardware.nvidia.nvidiaPersistenced = true;
|
||||
|
||||
# ---
|
||||
# NixOS release compatibility
|
||||
|
||||
Reference in New Issue
Block a user