Add newer kernel for Tower, add scx scheduler and direnv

This commit is contained in:
Bun 2025-04-22 21:22:44 -04:00
parent 981b88d233
commit f1ef766a9b
7 changed files with 33 additions and 19 deletions

26
flake.lock generated
View file

@ -2,7 +2,7 @@
"nodes": {
"avf": {
"locked": {
"lastModified": 1744940518,
"lastModified": 1745286281,
"narHash": "sha256-pkbIduXLW85yB5wV6j72Gpxz5JJhuJBZxhXWsJ4BMd8=",
"type": "tarball",
"url": "https://github.com/nix-community/nixos-avf/releases/download/nixos-24.11/avf-channel-24.11-aarch64.tar.xz"
@ -85,11 +85,11 @@
]
},
"locked": {
"lastModified": 1744145203,
"narHash": "sha256-I2oILRiJ6G+BOSjY+0dGrTPe080L3pbKpc+gCV3Nmyk=",
"lastModified": 1745224732,
"narHash": "sha256-0OWgbEKhpMLpk3WQi3ugOwxWW4Y6JVpKiQ+o0nuNzus=",
"owner": "nix-community",
"repo": "disko",
"rev": "76c0a6dba345490508f36c1aa3c7ba5b6b460989",
"rev": "1770bf1ae5da05564f86b969ef21c7228cc1a70b",
"type": "github"
},
"original": {
@ -340,11 +340,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1744855005,
"narHash": "sha256-pKTjh8Re/IzMdiceeoCN+dMMSl0NogmG2OdVxxZqpgg=",
"lastModified": 1745287043,
"narHash": "sha256-y8DH++s3Zt9LDCRDp7+tehFaeLs4WXRxnR3lFC5qbuY=",
"owner": "Infinidoge",
"repo": "nix-minecraft",
"rev": "34a4c1e1d96af67f73e449b2225764491a633ea7",
"rev": "9c4b4690ea3a1f7233e7f9d3bdfa88e464f77d57",
"type": "github"
},
"original": {
@ -424,11 +424,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1744892030,
"narHash": "sha256-jcIXcgvY3KkHIifG2SshvmLaxbH4b7rjydhvX8StgGE=",
"lastModified": 1745353885,
"narHash": "sha256-pPO6GlommUHHbjIilUCBeZdHI4SUyGfTJFBrT6rKhfk=",
"owner": "nix-community",
"repo": "NUR",
"rev": "4ad14df91d7987b4d160f7d6a9b38ab839728770",
"rev": "8bb84605f2d228a466a10b97fa8aa2dc2995cd7d",
"type": "github"
},
"original": {
@ -573,11 +573,11 @@
},
"unstable": {
"locked": {
"lastModified": 1744463964,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"lastModified": 1745234285,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
"type": "github"
},
"original": {

View file

@ -12,8 +12,8 @@ let
];
in {
boot = {
# Something something Zen or Xanmod for IOMMU isolation something zfs
kernelPackages = pkgsUnstable.linuxPackages_xanmod_stable;
# Latest kernel and IOMMU isolation
kernelPackages = pkgsUnstable.linuxPackages_latest;
kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:1f82,10de:10fa" ];
# Load into GPU before video driver

View file

@ -3,6 +3,7 @@
imports = [
./bat
./btop
./direnv
./eza
./fastfetch
./git

View file

@ -0,0 +1,7 @@
{ ... }:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
}

View file

@ -11,17 +11,17 @@
vim-airline-themes
# Internal clipboard
vim-vsnip
cmp-vsnip
vim-vsnip
# Autocomplete manager
lspkind-nvim
# Autocomplete plugins
cmp-nvim-lsp
cmp-buffer
cmp-path
cmp-cmdline
cmp-nvim-lsp
cmp-path
nvim-cmp
# Hex color visualizer and color theme
@ -37,6 +37,7 @@
# Misc languages
kdl-vim
vim-nix
];
extraConfig = ''
lua <<EOF
@ -45,7 +46,7 @@
cmp.setup({
snippet = {
-- REQUIRED - you must specify a snippet engine
-- Specify a snippet engine
expand = function(args)
vim.fn["vsnip#anonymous"](args.body)
end,

View file

@ -7,6 +7,7 @@
./keyd
./libvirtd
./portals
./scx
./snowflake
./ssh
./sunshine

View file

@ -0,0 +1,4 @@
{ ... }:
{
services.scx.enable = true;
}