Last active
February 3, 2026 20:18
-
-
Save dacr/3b2873cd53a2fc14261ffff7c415a924 to your computer and use it in GitHub Desktop.
flake configuration for lmstudio / published by https://github.com/dacr/code-examples-manager #bfaf2c5b-b796-4117-8c6b-2315b7cc15fa/7a203c259c1e22fa4d55662cbddf92d0bc00ea88
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": { | |
| "nixpkgs": { | |
| "locked": { | |
| "lastModified": 1731676054, | |
| "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", | |
| "owner": "nixos", | |
| "repo": "nixpkgs", | |
| "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "nixos", | |
| "ref": "nixos-unstable", | |
| "repo": "nixpkgs", | |
| "type": "github" | |
| } | |
| }, | |
| "root": { | |
| "inputs": { | |
| "nixpkgs": "nixpkgs", | |
| "utils": "utils" | |
| } | |
| }, | |
| "systems": { | |
| "locked": { | |
| "lastModified": 1681028828, | |
| "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", | |
| "owner": "nix-systems", | |
| "repo": "default", | |
| "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "nix-systems", | |
| "repo": "default", | |
| "type": "github" | |
| } | |
| }, | |
| "utils": { | |
| "inputs": { | |
| "systems": "systems" | |
| }, | |
| "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" | |
| } | |
| } | |
| }, | |
| "root": "root", | |
| "version": 7 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| inputs = { | |
| nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | |
| utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, utils}: | |
| utils.lib.eachDefaultSystem (system: | |
| let | |
| pkgs = import nixpkgs { | |
| inherit system; | |
| config.allowUnfree = true; | |
| }; | |
| in { | |
| apps.default = { | |
| type = "app"; | |
| program = "${pkgs.lmstudio}/bin/lmstudio"; | |
| }; | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## summary : flake configuration for lmstudio | |
| ## keywords : nix, flake, lmstudio, mistral, codestral, llama | |
| ## publish : gist | |
| ## authors : David Crosson | |
| ## license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| ## id : bfaf2c5b-b796-4117-8c6b-2315b7cc15fa | |
| ## created-on : 2024-11-17T19:02:50+01:00 | |
| ## managed-by : https://github.com/dacr/code-examples-manager | |
| ## run-with : make serve | |
| ## attachments : flake.nix, flake.lock | |
| all: | |
| nix run | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment