mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 17:32:26 +00:00
Switch back to nixos-unstable with nvidia_legacy470 and hardened kernel
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
system.stateVersion = "stable";
|
||||
system.stateVersion = "unstable";
|
||||
system.autoUpgrade.enable = true;
|
||||
|
||||
# Automatically optimize the Nix store.
|
||||
nix.autoOptimiseStore = true;
|
||||
|
||||
boot.kernel.sysctl."kernel.unprivileged_userns_clone" = 1;
|
||||
|
||||
# Enable Nix flake support.
|
||||
nix.package = pkgs.nixUnstable;
|
||||
nix.extraOptions = "experimental-features = nix-command flakes";
|
||||
@@ -18,7 +20,7 @@
|
||||
];
|
||||
};
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages_hardened;
|
||||
# Enable support for additional filesystems
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
|
Reference in New Issue
Block a user