{"id":11676,"date":"2024-04-19T11:19:32","date_gmt":"2024-04-19T09:19:32","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=11676"},"modified":"2024-04-19T11:19:32","modified_gmt":"2024-04-19T09:19:32","slug":"nixos-and-darwin-partial-success","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/nixos-and-darwin-partial-success\/","title":{"rendered":"NixOS and Darwin &#8211; Partial success"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Yesterday I experimented with NixOS and Debian. I managed to install NixOS on the Pi4 and I managed to implement several changes to the configuration.nix file before the Pi started to overheat and become much slower. At this point I tried to run Debian and that worked. <\/p>\n<p>At first Debian was running in command line mode so I took the time to install the KDE desktop and that&#8217;s when I ran into the same limitation of the Pi4. It tends to get hot and slow down to a crawl. <\/p>\n<p>This could be seen as a failure, or as a success. The reason for which it is a success is that I managed to get NixOS to work on a Pi, in the first place, and that I managed to compile a few changes before the system became too slow to work. <\/p>\n<p>With Debian too, I class it as a success, rather than a failure. I class it as a success because I read documentation, understood it, and then installed Darwin first in command line, and then with the GUI. It was working well enough for a bit. it&#8217;s when I left the machine to &#8220;sleep&#8221; and the display time out that the system failed to start again. <\/p>\n<p>It counts as a success because if I had been using a Raspberry Pi 4 8GB or higher it would have worked well. It&#8217;s only because of the limitations of the hardware that this could be considered as a failure. <\/p>\n<p>The other success that I am counting is that I was able to get my log ready for editing on three linux machines, within minutes, rather than quarter hours as I had previously. I have learned the work flow to get the hugo version of my blog downloaded locally, and set up the theme, and then git-ftp to upload the latest hugo compilation. <\/p>\n<p>## And Finally<\/p>\n<p>Today I wrote my blog post using VIM rather than WordPress and VS Code so it went faster. I find that I am gravitating towards simpler blogging habits once again. I only broke with blogging via VIM because I thought it would take hours to set things up again on the current machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Yesterday I experimented with NixOS and Debian. I managed to install NixOS on the Pi4 and I managed to implement several changes to the configuration.nix file before the Pi started to overheat and become much slower. At this point I tried to run Debian and that worked. At first Debian was running in command line [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11292,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[5143,1094,469,6340,6338,6427],"class_list":["post-11676","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-related","tag-experimenting","tag-learning","tag-linux","tag-nix","tag-nixos","tag-os"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/11676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=11676"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/11676\/revisions"}],"predecessor-version":[{"id":11677,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/11676\/revisions\/11677"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/11292"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=11676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=11676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=11676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}