diff --git a/content/post/nixos.org b/content/post/nixos.org new file mode 100644 index 0000000..223e004 --- /dev/null +++ b/content/post/nixos.org @@ -0,0 +1,53 @@ +#+title: "NixOS, or why I would love a new introduction" +#+date: 2025-07-12T19:56:56+02:00 +#+draft: false +#+categories[]: Computer +#+tags[]: Computer Operating_System NixOS + +I have been using NixOS for the last 2 years now. +I got introduced to it by friends, who had changed their entire workflow to accommodate it. +I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn't fully understand how I was supposed to use it in conjunction with how I was my computer at the time. +However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. +Having run this type of setup for two years now, I have to admit it. +NixOS makes certain aspects of using my computer easier. + +As of recent, I have had to change the laptop that I was using. +With Nix as the base, I was able to make it usable, in way faster time than I think I would have been able with an Arch installation. +There are some aspects that make it harder though, since that laptop needed to make sure it worked as intended, such as disabling TLP and patching the kernel. +It also allowed me to resume my work on my current master thesis, since I could just pull the git repo and use nix develop to get all the dependencies for that work in specifics. + +* Configuration +A friend of mine recently decided to try and do the switch themselves. +He has been an avid Arch fan boy for the last 2 years, since he got mad at Fedora for bricking his install (I genuinely do not understand how that happened). +He has been a bit particular however, refusing to configure software to ensure that he is able to use them anywhere, and to not have to learn esoteric languages for just one program. +I find this very sensible, while I approach it completely differently. +I want software customized to me, for me to act as best as I can within it. + +Anyway, this has lead to some confusion about Nix, and why things are as they are. +For example, how is Git, as defined in Home-Manager, able to configure it as it does? +And that is an implementation detail, but it is quite important for a user of Nix. +Why does Nix gatekeep the most foundational aspect of using Nix according to most users behind an Experimental-feature wall? +Now, I don't have the answers for these, since I am not yet a contributor to Nix, or well versed in the ecosystem, if I am being honest. + +* A better introduction +A comment was made about the [[https://nixos.org/manual/nixos/stable/][installation guide]], about how it is not adequate, and I wouldn't know, I didn't read it when I got NixOS. +Like most of Nix documentation, it is a bit overwhelming and hard to navigate. +I like [[https://wiki.archlinux.org/title/Installation_guide][Arch's install guide]], since it is easier to search, and it segments the parts into different pages. +So, if I were to change anything, I would split this up, making sure that they are condensed into small, concrete parts. +An approach of this that I like is [[https://github.com/rust-lang/mdBook][mdbook]]. One could therefore keep the more general structure of the guide, but each subsection is it's own page. + +Another aspect that would change is that an introduction should try to convey one way. +NixOS tries to introduce flakes in the [[https://nixos.org/manual/nixos/stable/#sec-installation-manual-installing][Installing section]], but never explaining what it is, or linking further. +Either you introduce a concept, link to more info, or you do not mention it. + +There are also several ways of managing the system that are not a good way of handling NixOS specifically. +Why is the [[https://nixos.org/manual/nixos/stable/#sec-ad-hoc-packages][Ad-hoc]] way of using Nix even introduced, when it goes against the ideals of having a reproducible system? +Why introduce manual user management? +Further, it talks about a lot of different programs that a user may want to install. +This does however not teach the user to actually figure out where to find options. +Why isn't [[https://search.nixos.org][search.nixos.org]] introduced? + +An optimal guide would introduce how to create a system, using the most commonly accepted methods, such as flakes. +You can introduce flakes as adding the ability to create a lock file like =package-lock.json= from npm. +This would then go into creating a functional system, and then a show case of how you can modify it and common fixes for NVIDIA, or similar. +I am a bit tempted to try and make this, but I also wanna do some own development on packages. diff --git a/flake.nix b/flake.nix index 88d53a3..0161449 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "styrdokument flake"; + description = "Blog flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/public/categories/computer/index.html b/public/categories/computer/index.html new file mode 100644 index 0000000..5f387e7 --- /dev/null +++ b/public/categories/computer/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Computer | acorneroftheweb + + + +
+ + +
+ + + + +
+ + +
+ +

Computer

+ + + + + +
+ + + + diff --git a/public/categories/computer/index.xml b/public/categories/computer/index.xml new file mode 100644 index 0000000..f1a703f --- /dev/null +++ b/public/categories/computer/index.xml @@ -0,0 +1,19 @@ + + + + Computer on acorneroftheweb + https://acorneroftheweb.com/categories/computer/ + Recent content in Computer on acorneroftheweb + Hugo + en-us + Sat, 12 Jul 2025 19:56:56 +0200 + + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + + + diff --git a/public/categories/index.html b/public/categories/index.html index a7aafe8..dcfc5e1 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -60,6 +60,10 @@ BlÄhaj (1) +
  • + Computer (1) +
  • +
  • Games (1)
  • diff --git a/public/categories/index.xml b/public/categories/index.xml index 09fc4ae..dcb1cc7 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -6,8 +6,15 @@ Recent content in Categories on acorneroftheweb Hugo en-us - Tue, 24 Oct 2023 15:18:55 +0200 + Sat, 12 Jul 2025 19:56:56 +0200 + + Computer + https://acorneroftheweb.com/categories/computer/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/categories/computer/ + + Theme https://acorneroftheweb.com/categories/theme/ diff --git a/public/index.html b/public/index.html index d0850ef..1b162f0 100644 --- a/public/index.html +++ b/public/index.html @@ -77,6 +77,11 @@ I am right now a part of the committee known as 2025/07/12 + “NixOS, or why I would love a new introduction” + +
  • 2023/12/22 “Doctor Who and Steven Moffats fascinations” diff --git a/public/index.xml b/public/index.xml index 8bd74d2..d15ff5f 100644 --- a/public/index.xml +++ b/public/index.xml @@ -6,8 +6,15 @@ Recent content in Home on acorneroftheweb Hugo en-us - Fri, 22 Dec 2023 19:08:09 +0100 + Sat, 12 Jul 2025 19:56:56 +0200 + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + "Doctor Who and Steven Moffats fascinations" https://acorneroftheweb.com/post/2023/12/22/doctor-who-and-steven-moffats-fascinations/ diff --git a/public/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/index.html b/public/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/index.html new file mode 100644 index 0000000..a9014de --- /dev/null +++ b/public/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + + + "NixOS, or why I would love a new introduction" | acorneroftheweb + + + +
    + + +
    + + + + +
    + + + + +
    +
    + +

    +I have been using NixOS for the last 2 years now. +I got introduced to it by friends, who had changed their entire workflow to accommodate it. +I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn't fully understand how I was supposed to use it in conjunction with how I was my computer at the time. +However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. +Having run this type of setup for two years now, I have to admit it. +NixOS makes certain aspects of using my computer easier.

    +

    +As of recent, I have had to change the laptop that I was using. +With Nix as the base, I was able to make it usable, in way faster time than I think I would have been able with an Arch installation. +There are some aspects that make it harder though, since that laptop needed to make sure it worked as intended, such as disabling TLP and patching the kernel. +It also allowed me to resume my work on my current master thesis, since I could just pull the git repo and use nix develop to get all the dependencies for that work in specifics.

    +
    +

    +Configuration +

    +
    +

    A friend of mine recently decided to try and do the switch themselves. +He has been an avid Arch fan boy for the last 2 years, since he got mad at Fedora for bricking his install (I genuinely do not understand how that happened). +He has been a bit particular however, refusing to configure software to ensure that he is able to use them anywhere, and to not have to learn esoteric languages for just one program. +I find this very sensible, while I approach it completely differently. +I want software customized to me, for me to act as best as I can within it.

    +

    +Anyway, this has lead to some confusion about Nix, and why things are as they are. +For example, how is Git, as defined in Home-Manager, able to configure it as it does? +And that is an implementation detail, but it is quite important for a user of Nix. +Why does Nix gatekeep the most foundational aspect of using Nix according to most users behind an Experimental-feature wall? +Now, I don't have the answers for these, since I am not yet a contributor to Nix, or well versed in the ecosystem, if I am being honest.

    +
    +
    +
    +

    +A better introduction +

    +
    +

    A comment was made about the installation guide, about how it is not adequate, and I wouldn't know, I didn't read it when I got NixOS. +Like most of Nix documentation, it is a bit overwhelming and hard to navigate. +I like Arch's install guide, since it is easier to search, and it segments the parts into different pages. +So, if I were to change anything, I would split this up, making sure that they are condensed into small, concrete parts. +An approach of this that I like is mdbook. One could therefore keep the more general structure of the guide, but each subsection is it's own page.

    +

    +Another aspect that would change is that an introduction should try to convey one way. +NixOS tries to introduce flakes in the Installing section, but never explaining what it is, or linking further. +Either you introduce a concept, link to more info, or you do not mention it.

    +

    +There are also several ways of managing the system that are not a good way of handling NixOS specifically. +Why is the Ad-hoc way of using Nix even introduced, when it goes against the ideals of having a reproducible system? +Why introduce manual user management? +Further, it talks about a lot of different programs that a user may want to install. +This does however not teach the user to actually figure out where to find options. +Why isn't search.nixos.org introduced?

    +

    +An optimal guide would introduce how to create a system, using the most commonly accepted methods, such as flakes. +You can introduce flakes as adding the ability to create a lock file like package-lock.json from npm. +This would then go into creating a functional system, and then a show case of how you can modify it and common fixes for NVIDIA, or similar. +I am a bit tempted to try and make this, but I also wanna do some own development on packages.

    +
    +
    + + >> Home +
    +
    +
    + + + + +
    + Open-Source | Git + +
    + + + diff --git a/public/post/index.html b/public/post/index.html index edafb2f..e4c2c80 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -63,6 +63,11 @@ +
  • + 2025/07/12 + “NixOS, or why I would love a new introduction” +
  • +
  • 2023/12/22 “Doctor Who and Steven Moffats fascinations” diff --git a/public/post/index.xml b/public/post/index.xml index 99ea350..8eb0906 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -6,8 +6,15 @@ Recent content in Posts on acorneroftheweb Hugo en-us - Fri, 22 Dec 2023 19:08:09 +0100 + Sat, 12 Jul 2025 19:56:56 +0200 + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + "Doctor Who and Steven Moffats fascinations" https://acorneroftheweb.com/post/2023/12/22/doctor-who-and-steven-moffats-fascinations/ diff --git a/public/sitemap.xml b/public/sitemap.xml index ae4f37c..5feeb4c 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,29 +2,41 @@ - https://acorneroftheweb.com/post/2023/12/22/doctor-who-and-steven-moffats-fascinations/ - 2023-12-22T19:08:09+01:00 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/categories/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/categories/computer/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/tags/computer/ + 2025-07-12T19:56:56+02:00 https://acorneroftheweb.com/ - 2023-12-22T19:08:09+01:00 + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/tags/nixos/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/tags/operating_system/ + 2025-07-12T19:56:56+02:00 https://acorneroftheweb.com/post/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/tags/ + 2025-07-12T19:56:56+02:00 + + https://acorneroftheweb.com/post/2023/12/22/doctor-who-and-steven-moffats-fascinations/ 2023-12-22T19:08:09+01:00 https://acorneroftheweb.com/post/2023/10/24/me-on-switching-to-lightmode/ 2023-10-24T15:18:55+02:00 - - https://acorneroftheweb.com/categories/ - 2023-10-24T15:18:55+02:00 - - https://acorneroftheweb.com/tags/computer/ - 2023-10-24T15:18:55+02:00 https://acorneroftheweb.com/tags/light/ 2023-10-24T15:18:55+02:00 - - https://acorneroftheweb.com/tags/ - 2023-10-24T15:18:55+02:00 https://acorneroftheweb.com/categories/theme/ 2023-10-24T15:18:55+02:00 diff --git a/public/tags/computer/index.html b/public/tags/computer/index.html index 9589439..ce8a43e 100644 --- a/public/tags/computer/index.html +++ b/public/tags/computer/index.html @@ -63,6 +63,11 @@ +
  • + 2025/07/12 + “NixOS, or why I would love a new introduction” +
  • +
  • 2023/10/24 “Me on switching to lightmode” diff --git a/public/tags/computer/index.xml b/public/tags/computer/index.xml index 435fd84..e20e4fa 100644 --- a/public/tags/computer/index.xml +++ b/public/tags/computer/index.xml @@ -6,8 +6,15 @@ Recent content in Computer on acorneroftheweb Hugo en-us - Tue, 24 Oct 2023 15:18:55 +0200 + Sat, 12 Jul 2025 19:56:56 +0200 + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + "Me on switching to lightmode" https://acorneroftheweb.com/post/2023/10/24/me-on-switching-to-lightmode/ diff --git a/public/tags/index.html b/public/tags/index.html index 9904cdf..a4248fc 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -65,7 +65,7 @@
  • - Computer (1) + Computer (2)
  • @@ -88,6 +88,14 @@ Nintendo (1)
  • +
  • + NixOS (1) +
  • + +
  • + Operating_System (1) +
  • +
  • Servers (1)
  • diff --git a/public/tags/index.xml b/public/tags/index.xml index 9239adc..904d8bb 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -6,15 +6,29 @@ Recent content in Tags on acorneroftheweb Hugo en-us - Tue, 24 Oct 2023 15:18:55 +0200 + Sat, 12 Jul 2025 19:56:56 +0200 Computer https://acorneroftheweb.com/tags/computer/ - Tue, 24 Oct 2023 15:18:55 +0200 + Sat, 12 Jul 2025 19:56:56 +0200 https://acorneroftheweb.com/tags/computer/ + + NixOS + https://acorneroftheweb.com/tags/nixos/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/tags/nixos/ + + + + Operating_System + https://acorneroftheweb.com/tags/operating_system/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/tags/operating_system/ + + Light https://acorneroftheweb.com/tags/light/ diff --git a/public/tags/nixos/index.html b/public/tags/nixos/index.html new file mode 100644 index 0000000..94a26b7 --- /dev/null +++ b/public/tags/nixos/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + NixOS | acorneroftheweb + + + +
    + + +
    + + + + +
    + + +
    + +

    NixOS

    + + + + + +
    +
    + + + + +
    + Open-Source | Git + +
    + + + diff --git a/public/tags/nixos/index.xml b/public/tags/nixos/index.xml new file mode 100644 index 0000000..9fa8880 --- /dev/null +++ b/public/tags/nixos/index.xml @@ -0,0 +1,19 @@ + + + + NixOS on acorneroftheweb + https://acorneroftheweb.com/tags/nixos/ + Recent content in NixOS on acorneroftheweb + Hugo + en-us + Sat, 12 Jul 2025 19:56:56 +0200 + + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + + + diff --git a/public/tags/operating_system/index.html b/public/tags/operating_system/index.html new file mode 100644 index 0000000..c987497 --- /dev/null +++ b/public/tags/operating_system/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + Operating_System | acorneroftheweb + + + +
    + + +
    + + + + +
    + + +
    + +

    Operating_System

    + + + + + +
    +
    + + + + +
    + Open-Source | Git + +
    + + + diff --git a/public/tags/operating_system/index.xml b/public/tags/operating_system/index.xml new file mode 100644 index 0000000..3bf512e --- /dev/null +++ b/public/tags/operating_system/index.xml @@ -0,0 +1,19 @@ + + + + Operating_System on acorneroftheweb + https://acorneroftheweb.com/tags/operating_system/ + Recent content in Operating_System on acorneroftheweb + Hugo + en-us + Sat, 12 Jul 2025 19:56:56 +0200 + + + "NixOS, or why I would love a new introduction" + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + Sat, 12 Jul 2025 19:56:56 +0200 + https://acorneroftheweb.com/post/2025/07/12/nixos-or-why-i-would-love-a-new-introduction/ + <p> I have been using NixOS for the last 2 years now. I got introduced to it by friends, who had changed their entire workflow to accommodate it. I was a bit skeptical at the beginning, tried installing the package manager to my arch install at the time, but didn&#39;t fully understand how I was supposed to use it in conjunction with how I was my computer at the time. However, in the summer of 2023, I decided to take the plunge, and go the full way, with a new install. Having run this type of setup for two years now, I have to admit it. NixOS makes certain aspects of using my computer easier.</p> + + +