Skip to content

Commit

Permalink
update-flake: enable jupyter fully
Browse files Browse the repository at this point in the history
Signed-off-by: John Titor <[email protected]>
  • Loading branch information
JohnRTitor committed Jan 6, 2025
1 parent b6c504a commit 0a95a3f
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 104 deletions.
7 changes: 5 additions & 2 deletions dev-environment/jupyter.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{pkgs, ...}:
{
services.jupyter.enable = true;
services.jupyter.password = "argon2:$argon2id$v=19$m=10240,t=10,p=8$PxYTOOaulhqndkeAsBaiVQ$cwS31ODwiduBmA59YYTfh2q8SbMBGH93iDjU5tcQ8kU"; # test
services.jupyter = {
enable = true;
password = "argon2:$argon2id$v=19$m=10240,t=10,p=8$PxYTOOaulhqndkeAsBaiVQ$cwS31ODwiduBmA59YYTfh2q8SbMBGH93iDjU5tcQ8kU";
};

#services.jupyter.notebookDir = "Notebooks";
}
160 changes: 63 additions & 97 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
nixpkgs.url = "nixpkgs/nixos-unstable"; # Unstable NixOS system (default)
nixpkgs-edge.url = "nixpkgs/nixos-unstable-small"; # For latest packages
nixpkgs-master.url = "nixpkgs/master"; # Testing branch of nixpkgs
nixpkgs-jupyter-service-fix.url = "github:nixos/nixpkgs/refs/pull/367106/merge";

flake-parts = {
url = "github:hercules-ci/flake-parts"; # Flake parts for easy flake management
Expand Down
2 changes: 1 addition & 1 deletion modules-overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}: {
imports = [
#./amdgpu.nix # import modules here to test
"${inputs.nixpkgs-jupyter-service-fix}/nixos/modules/services/development/jupyter/default.nix"
"${inputs.nixpkgs-master}/nixos/modules/services/development/jupyter/default.nix"
];

disabledModules = [
Expand Down
Loading

0 comments on commit 0a95a3f

Please sign in to comment.