Evie Litherland-Smith
8ca2053944
Pull program expressions inside hyprland directory (e.g. rofi, waybar, etc...) up one level. Convert everything into package-name/default.nix format for consistency Move common home imports from flake.nix into hyprland/default.nix, flake.nix now only defaults into importing hyprland, to be consistent with how system imports work Remove some old files: calendar and contact setup, sweet theme pkgs Move xdg.configFile expressions from home/default.nix into a config/default.nix, keeping the files to be linked in the config dir as well (still need to do ipython though)
18 lines
574 B
Python
18 lines
574 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
root_dir = Path(os.getenv("HOME", Path("~/").expanduser().resolve()))
|
|
|
|
c.ServerApp.port = 8888
|
|
c.ServerApp.root_dir = str(root_dir)
|
|
c.FileCheckpoints.checkpoint_dir = str(root_dir / ".ipynb_checkpoints")
|
|
c.ServerApp.use_redirect_file = False
|
|
c.ServerApp.open_browser = False
|
|
|
|
# Set password for remote access login
|
|
c.PasswordIdentityProvider.hashed_password = (
|
|
"sha1:005773a53a70:a5c53a779fa0e1498ada0f8fdb48ad1fef1257ff"
|
|
)
|
|
c.PasswordIdentityProvider.password_required = True
|
|
c.PasswordIdentityProvider.allow_password_change = False
|