Humble blog

Join eduroam wifi network

Edit configuration.nix: networking.wireless.networks = { "eduroam".auth = '' proto=WPA2 key_mgmt=WPA-EAP eap=TTLS phase2="auth=MSCHAPV2" anonymous_identity="" identity="" password="password" ''; }; Note: This configuration works at Paris-Dauphine University but may not work in your university depending on their network configuration. Brief reminder for …

Mount disks on NixOS startup

Edit configuration.nix: fileSystems = { "/mnt/HDD1".label = "HDD1"; "/mnt/HDD2".device = "/dev/sdc1"; "/mnt/HDD3" = { device = "/dev/hda2"; fsType = "ext3"; options = [ "data=journal" ]; }; }; Add other filesystems with: boot.supportedFilesystems = [ "ntfs" ];

Use SSH keys on NixOS

Generate Ed25519 SSH key: ssh-keygen -t ed25519 [...] Your public key has been saved in /path/.ssh/ Get your public SSH key: cat /path/.ssh/ ssh-ed25519 AAAA[...] user@host Edit configuration.nix: users.extraUsers.user = { openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAA[...] user@host" ]; };

Deploy Pelican blog on NixOS server

Local Testing pelican blog: pelican content && pelican --listen Development server will be at Deployement Copy output/ folder to server: rsync -avc --delete output/ philippe@MICROSERVER:/var/www/ Generate + copy combo: pelican content && rsync -avc --delete output/ philippe@MICROSERVER:/var/www/ …

To do

To do Contact page Projects page Data science portfolio Include pictures

Markdown examples

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in h1 Heading 8-) h2 Heading h3 Heading h4 Heading …