Switch back to nixos-unstable with nvidia_legacy470 and hardened kernel

This commit is contained in:
Dave Gallant
2021-12-02 01:14:24 -05:00
parent 97e843a098
commit e802168d14
7 changed files with 66 additions and 48 deletions

View File

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