From 48628c4934285764ea778f770605ff79092e6278 Mon Sep 17 00:00:00 2001 From: Aria Nolan Date: Tue, 13 Feb 2024 16:30:09 -0500 Subject: [PATCH] nix-matlab --- flake.lock | 40 +++++++++++++++++++++++++++++++++++++++- flake.nix | 6 ++++++ users/tacocat/home.nix | 1 + 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 4c648ff..fb4f393 100644 --- a/flake.lock +++ b/flake.lock @@ -80,6 +80,22 @@ "type": "github" } }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -264,6 +280,27 @@ "type": "github" } }, + "nix-matlab": { + "inputs": { + "flake-compat": "flake-compat", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1707836514, + "narHash": "sha256-bLXO4tsf6wUJr9irEM+yuZATxZOnjEfTp4LPwNDs+oE=", + "owner": "doronbehar", + "repo": "nix-matlab", + "rev": "e6f1a880cd0ff12cc04b86c71e71e02b787c5b70", + "type": "gitlab" + }, + "original": { + "owner": "doronbehar", + "repo": "nix-matlab", + "type": "gitlab" + } + }, "nixos-hardware": { "locked": { "lastModified": 1707211557, @@ -369,7 +406,7 @@ }, "pre-commit-hooks": { "inputs": { - "flake-compat": "flake-compat", + "flake-compat": "flake-compat_2", "flake-utils": "flake-utils_2", "gitignore": "gitignore", "nixpkgs": [ @@ -400,6 +437,7 @@ "agenix": "agenix", "helix": "helix", "home-manager": "home-manager_2", + "nix-matlab": "nix-matlab", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_3", "nixvim": "nixvim", diff --git a/flake.nix b/flake.nix index f8372d8..613e2c8 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,10 @@ url = "github:nix-community/nixvim"; inputs.nixpkgs.follows = "nixpkgs"; }; + nix-matlab = { + inputs.nixpkgs.follows = "nixpkgs"; + url = "gitlab:doronbehar/nix-matlab"; + }; }; # pass in the urls defined above @@ -41,12 +45,14 @@ nur, agenix, nixvim, + nix-matlab, ... } @ inputs: let system = "x86_64-linux"; pkgs = inputs.nixpkgs.legacyPackages.${system}; overlays = [ nur.overlay + nix-matlab.overlay ]; home-manager-config = toplevel: [ home-manager.nixosModules.home-manager diff --git a/users/tacocat/home.nix b/users/tacocat/home.nix index 9673b4d..7bd8e61 100644 --- a/users/tacocat/home.nix +++ b/users/tacocat/home.nix @@ -24,6 +24,7 @@ "$HOME/.dotnet" ]; packages = with pkgs; [ + matlab mpv krita notesnook