diff --git a/c/flake.nix b/c/flake.nix index 950b8f8..7c10da2 100644 --- a/c/flake.nix +++ b/c/flake.nix @@ -25,7 +25,7 @@ astyle # You might want to use your own IDE. - (jetbrains.plugins.addPlugins jetbrains.clion [ "github-copilot" ]) + # (jetbrains.plugins.addPlugins jetbrains.clion [ "github-copilot" ]) ]; }; }); diff --git a/notebook/sagemath/flake.nix b/notebook/sagemath/flake.nix index 5625707..b14df7b 100644 --- a/notebook/sagemath/flake.nix +++ b/notebook/sagemath/flake.nix @@ -1,5 +1,15 @@ { - description = "Sagemath flake"; + description = '' + Sagemath flake + + You'll want to run the flake with the following command: + + $ sage --nodotsage -n=jupyterlab --notebook-dir /path/to/notebooks + + For example: + + $ sage --nodotsage -n=jupyterlab --notebook-dir . + ''; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; diff --git a/pandoc/flake.nix b/pandoc/flake.nix index 4592434..55611f3 100644 --- a/pandoc/flake.nix +++ b/pandoc/flake.nix @@ -1,5 +1,5 @@ { - description = "Pandoc flake"; + description = "LaTeX flake"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; @@ -14,19 +14,9 @@ in { devShells.default = pkgs.mkShell { packages = with pkgs; [ - pandoc texlive.combined.scheme-full + pgfplots ]; - shellHook = '' - pandoc \ - -s \ - -o output.pdf \ - -f markdown+smart+header_attributes+yaml_metadata_block+auto_identifiers+implicit_figures \ - --pdf-engine lualatex \ - --dpi=300 \ - header.yaml \ - input.md - ''; }; } ); diff --git a/python/conda/temp.txt b/python/conda/temp.txt deleted file mode 100644 index 1886290..0000000 --- a/python/conda/temp.txt +++ /dev/null @@ -1,23 +0,0 @@ -Collecting somoclu - Downloading somoclu-1.7.6.tar.gz (1.6 MB) - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 10.4 MB/s eta 0:00:00 - Preparing metadata (setup.py) ... done -Requirement already satisfied: numpy in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from somoclu) (1.26.4) -Requirement already satisfied: matplotlib in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from somoclu) (3.8.4) -Requirement already satisfied: scipy in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from somoclu) (1.13.0) -Requirement already satisfied: contourpy>=1.0.1 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (1.2.1) -Requirement already satisfied: cycler>=0.10 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (0.12.1) -Requirement already satisfied: fonttools>=4.22.0 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (4.51.0) -Requirement already satisfied: kiwisolver>=1.3.1 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (1.4.5) -Requirement already satisfied: packaging>=20.0 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (24.0) -Requirement already satisfied: pillow>=8 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (10.3.0) -Requirement already satisfied: pyparsing>=2.3.1 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (3.1.2) -Requirement already satisfied: python-dateutil>=2.7 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from matplotlib->somoclu) (2.9.0.post0) -Requirement already satisfied: six>=1.5 in /home/tdpeuter/.conda/envs/flowsom/lib/python3.12/site-packages (from python-dateutil>=2.7->matplotlib->somoclu) (1.16.0) -Building wheels for collected packages: somoclu - Building wheel for somoclu (setup.py) ... done - Created wheel for somoclu: filename=somoclu-1.7.6-cp312-cp312-linux_x86_64.whl size=46109 sha256=59e08821439170c1f692279c453974018bd9c3614d5278f95026dd4e2a771b08 - Stored in directory: /home/tdpeuter/.cache/pip/wheels/8b/05/0a/6a22a13f926542d613ce2eb4b136884b1df7deecc20ec93c8f -Successfully built somoclu -Installing collected packages: somoclu -Successfully installed somoclu-1.7.6 diff --git a/android/flake.lock b/webdev/flake.lock similarity index 77% rename from android/flake.lock rename to webdev/flake.lock index 7d9620c..5e3aad8 100644 --- a/android/flake.lock +++ b/webdev/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724300212, - "narHash": "sha256-x3jl6OWTs+L9C7EtscuWZmGZWI0iSBDafvg3X7JMa1A=", + "lastModified": 1735268880, + "narHash": "sha256-7QEFnKkzD13SPxs+UFR5bUFN2fRw+GlL0am72ZjNre4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4de4818c1ffa76d57787af936e8a23648bda6be4", + "rev": "7cc0bff31a3a705d3ac4fdceb030a17239412210", "type": "github" }, "original": { diff --git a/webdev/flake.nix b/webdev/flake.nix new file mode 100644 index 0000000..7356318 --- /dev/null +++ b/webdev/flake.nix @@ -0,0 +1,30 @@ +{ + description = '' + Web development flake + ''; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem + ( system: + let + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; + in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + nodejs + + # IDE's + (jetbrains.plugins.addPlugins jetbrains.webstorm [ "github-copilot" ]) + ]; + }; + }); +} +