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

View File

@@ -29,7 +29,7 @@ in
git-crypt
github-cli
gnumake
# hadolint # broken
hadolint
lazygit
pre-commit
shellcheck
@@ -76,7 +76,7 @@ in
# lua
lua53Packages.luacheck
# stylua
stylua
# golang
golangci-lint
@@ -133,7 +133,7 @@ in
## aws
aws-connect
# aws-role-play
aws-role-play
aws-vault
awscli2
awslogs
@@ -142,9 +142,9 @@ in
# python
python39
python39Packages.black
# python39Packages.ipython
python39Packages.ipython
python39Packages.pip
# python39Packages.poetry
python39Packages.poetry
python39Packages.setuptools
python39Packages.virtualenv
@@ -153,7 +153,7 @@ in
rubocop
ruby
rufo
# rubyPackages.solargraph # not in 21.05
rubyPackages.solargraph
# news
srv