mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +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" ];
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user