Recently my Nix home-manager config sharted, this is how I fixed it
I had to reinstall Nix and home-manager recently on my Mac, because for some reason home-manager switch stopped working. After a bit of searching and trying out a bunch of fixes I found what worked. The working solution started with a full reinstall of Nix, and that starts with emptying the generated Nix volume with disk utility. The workflow was roughly as follows:Empty nix volume with disk utilityInstall multi-user Nixbash <(curl -L https://nixos.org/nix/install) --daemonDo the following pe...
Recently my Nix home-manager config sharted, this is how I fixed it
I had to reinstall Nix and home-manager recently on my Mac, because for some reason home-manager switch stopped working. After a bit of searching and trying out a bunch of fixes I found what worked. The working solution started with a full reinstall of Nix, and that starts with emptying the generated Nix volume with disk utility. The workflow was roughly as follows:Empty nix volume with disk utilityInstall multi-user Nixbash <(curl -L https://nixos.org/nix/install) --daemonDo the following pe...
Mac + Nix + home_manager Love Story
I had been eyeing Nix for a while, intrigued by the possibility to deterministically define dependencies to projects et cetera. Then, at the end of 2021 I found out about home-manager, which is a way to manage your standard development environment setup with Nix – It's like any dotfiles repo you've ever seen, but better.InstallationFirst, we install Nix to accommodate for home-manager (I recommend everyone to read all the output and not just blindly answer* yes *to every choice):sh ...
Mac + Nix + home_manager Love Story
I had been eyeing Nix for a while, intrigued by the possibility to deterministically define dependencies to projects et cetera. Then, at the end of 2021 I found out about home-manager, which is a way to manage your standard development environment setup with Nix – It's like any dotfiles repo you've ever seen, but better.InstallationFirst, we install Nix to accommodate for home-manager (I recommend everyone to read all the output and not just blindly answer* yes *to every choice):sh ...
Transforming regular React components to Stitches components
Stitches is a composable styling library for JS that is a great alternative for CSS modules, since components styled with Stitches can be extended with “inline” styles using the css prop, or be used to define other, further Stitches styled components.<Button css={{ background: "green" }}>Entertainment</Button> Due to the composable nature of Stitches I was pretty bummed to find out that not a lot of documentation exists concerning composing Stitches components out of existing React ...
Transforming regular React components to Stitches components
Stitches is a composable styling library for JS that is a great alternative for CSS modules, since components styled with Stitches can be extended with “inline” styles using the css prop, or be used to define other, further Stitches styled components.<Button css={{ background: "green" }}>Entertainment</Button> Due to the composable nature of Stitches I was pretty bummed to find out that not a lot of documentation exists concerning composing Stitches components out of existing React ...
Using Notion as a CMS for anything that reads markdown
PrefaceAs you might see from the fact that this blog resides on Mirror instead of Notion, I didn’t end up using this, but I reckon some might get usage out of the code that I wrote. :) TL;DR? *The finished code can be found, forked and tinkered with behind this link: * https://github.com/JaniAnttonen/notion-to-md-workerBackgroundWhile looking out for fun new things to try out on my personal website, I thought of using an external CMS for my blog posts, music and photos. Notion works well for ...
Using Notion as a CMS for anything that reads markdown
PrefaceAs you might see from the fact that this blog resides on Mirror instead of Notion, I didn’t end up using this, but I reckon some might get usage out of the code that I wrote. :) TL;DR? *The finished code can be found, forked and tinkered with behind this link: * https://github.com/JaniAnttonen/notion-to-md-workerBackgroundWhile looking out for fun new things to try out on my personal website, I thought of using an external CMS for my blog posts, music and photos. Notion works well for ...
Not Quite As Expected
NOTE: Originally published on January 8th, 2020. Little did the writer know what was about to hit the fan. :) I’ve also since then learned that memory metals are pretty vital in some areas, but rarely seen by the average consumer. I was very fond of information-heavy pictured books that resembled Wikipedia articles when I was young. (This happened around the change of the millenium, btw.) Through those I learned about dinosaurs, volcanoes, inner workings of the earth, our solar system, world ...
Not Quite As Expected
NOTE: Originally published on January 8th, 2020. Little did the writer know what was about to hit the fan. :) I’ve also since then learned that memory metals are pretty vital in some areas, but rarely seen by the average consumer. I was very fond of information-heavy pictured books that resembled Wikipedia articles when I was young. (This happened around the change of the millenium, btw.) Through those I learned about dinosaurs, volcanoes, inner workings of the earth, our solar system, world ...