Add qvm input and configure large VM for lio host

This commit is contained in:
Joshua Bell 2026-01-26 13:44:36 -06:00
parent 4bb36c0f75
commit ec2e093a24
2 changed files with 94 additions and 16 deletions

101
hosts/lio/flake.lock generated
View file

@ -9,7 +9,7 @@
"ragenix",
"nixpkgs"
],
"systems": "systems"
"systems": "systems_2"
},
"locked": {
"lastModified": 1761656077,
@ -64,11 +64,11 @@
"common": {
"locked": {
"dir": "flakes/common",
"lastModified": 1769211616,
"narHash": "sha256-xRCsJf/tnkV1eqsk3wf3FKesoo0fNioNTi86gYIOXAA=",
"lastModified": 1769438846,
"narHash": "sha256-ahQYSazuB2RpF3XUYqKdwgOBFSbGUB2zQsqKEkSOuxA=",
"ref": "refs/heads/master",
"rev": "bef1a71d25eedf5e158473db6cc76ab1c0450646",
"revCount": 1170,
"rev": "4bb36c0f7570b271bbeda67f9c4d5160c819850a",
"revCount": 1176,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
},
@ -154,7 +154,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
@ -188,6 +188,24 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flatpaks": {
"inputs": {
"nix-flatpak": "nix-flatpak"
@ -369,6 +387,22 @@
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1769170682,
"narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c5296fdd05cfa2c187990dd909864da9658df755",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1769018530,
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
@ -384,7 +418,7 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_7": {
"locked": {
"lastModified": 1761672384,
"narHash": "sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI=",
@ -400,7 +434,7 @@
"type": "github"
}
},
"nixpkgs_7": {
"nixpkgs_8": {
"locked": {
"lastModified": 1768127708,
"narHash": "sha256-1Sm77VfZh3mU0F5OqKABNLWxOuDeHIlcFjsXeeiPazs=",
@ -1269,11 +1303,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1769362166,
"narHash": "sha256-ovFGFI2dSZLKSeuanRZg9cNvMCxYnS3UbtaCKls5BYQ=",
"lastModified": 1769436946,
"narHash": "sha256-lTd+Uni2PJjjIt8Qkt928ZvpDt2QoXK4cI2V9uKiC5U=",
"owner": "anomalyco",
"repo": "opencode",
"rev": "056186225b6648cd5244d2cb0b05622b95343dc6",
"rev": "7f75f71f6b970c714b9e74f5715073e07ca8e431",
"type": "github"
},
"original": {
@ -1301,12 +1335,31 @@
"type": "github"
}
},
"qvm": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1769445245,
"narHash": "sha256-ZQ+zGDomj4LmJLKqhF7KciMEAZyRDYouotl/u6KOyrE=",
"ref": "refs/heads/main",
"rev": "3e772152ad1ee211b88b4efebeb6191f55e0d91c",
"revCount": 9,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/qvm"
},
"original": {
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/qvm"
}
},
"ragenix": {
"inputs": {
"agenix": "agenix",
"crane": "crane",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6",
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_7",
"rust-overlay": "rust-overlay_2"
},
"locked": {
@ -1333,6 +1386,7 @@
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
"opencode": "opencode",
"qvm": "qvm",
"ros_neovim": "ros_neovim",
"secrets": "secrets",
"secrets-bao": "secrets-bao",
@ -1341,7 +1395,7 @@
},
"ros_neovim": {
"inputs": {
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"nvim_plugin-Almo7aya/openingh.nvim": "nvim_plugin-Almo7aya/openingh.nvim",
"nvim_plugin-JoosepAlviste/nvim-ts-context-commentstring": "nvim_plugin-JoosepAlviste/nvim-ts-context-commentstring",
"nvim_plugin-L3MON4D3/LuaSnip": "nvim_plugin-L3MON4D3/LuaSnip",
@ -1494,8 +1548,8 @@
"stt_ime": {
"inputs": {
"crane": "crane_2",
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_7"
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_8"
},
"locked": {
"dir": "flakes/stt_ime",
@ -1557,6 +1611,21 @@
"repo": "default",
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -23,6 +23,7 @@
opencode.url = "github:anomalyco/opencode";
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
qvm.url = "git+https://git.joshuabell.xyz/ringofstorms/qvm";
};
outputs =
@ -77,6 +78,7 @@
enable = true;
gpuBackend = "hip"; # Use AMD ROCm/HIP acceleration
useGpu = true;
model = "large";
};
})
@ -85,6 +87,13 @@
({
ringofstorms-nvim.includeAllRuntimeDependencies = true;
})
inputs.qvm.nixosModules.default
({
programs.qvm = {
memory = "30G";
cpus = 30;
};
})
flatpaks.nixosModules.default
common.nixosModules.essentials