Fake news. Unless you're just doing standard things on a standard setup. For anything else, you need to be prepared to do binary hackery, spend days reading through notoriously poor documentation, and fiddle around with configurations for weeks, until you come to the conclusion that it is just simpler to run Docker+Ubuntu to do what you want, even if it adds an annoying layer of abstraction, and finally wonder why you subjected yourself to this pain and torture, and then go back to newb-level distros like Arch/Gentoo/LFS.
Hyprland is pretty, but it is not as functional as i3. I ended up going back to i3, and copied over some of the borders/gaps choices from my Hyprland setup.
My biggest functional annoyance was that Hyprland "special workspaces" were far less functional than i3 scratchpads:
The community believes in a philosophically "correct" Nix way. NixOS has a fundamentally different design in package management at an operating system level. Unfortunately, this often means there are various incompatibilities between a traditional Linux system
/etc/ configuration
/usr/
bin/ binaries
lib/ libraries
share/ other
...and a NixOS system, which has a central store that does not entirely disobey the traditional Filesystem Hierarchy Standard (FHS):
/etc/ configuration... except it is rebuilt/overwritten every install
/nix/store/
4zby3xg4dayz4vfd00b9cxz9rgyr4wkr-libtiff-4.5.0
9zkp73p2rzhi2ik784cibijknshccfg5-python3.9-docopt-0.6.2
azw8rpjnfagvcqcrb1kprw5l13k9byaj-texlive-continue-0.2
j00kdn6frhjvh5apw82y0314a2h2xh1v-tcl-8.6.11
p02xv0wkyirnklvnwzrzgqks7vplqkif-firefox-99.0.1
r0jh4xv63q39mp7jy2gfhdvgrp5fc5dn-texlive-cite-5.5
v1yvlki9xi5bjjrzfw501z99wj4zd8l0-nvidia-optical-flow-sdk-2.0
v43rggbqchp3l19692qwqmmfagf9l9qc-python3.9-more-itertools-8.12.0
y4kagp06w01x31n1kr3ncpkvg5hiwidl-networkmanager-1.40.6
These hashes change very frequently (e.g. every update), so any package depending on one of these has to properly be patched to point to the correct location. Remember: NixOS has a different hierarchy that package developers are pretty much unaware of. For example, binaries sometimes need to stripped and/or told to point to another location for their dependencies. Making this work involves a lot of patching that has been done over the years by many contributors.
The focus on ensuring everything is "pure" (i.e., a deterministic function of deterministic dependencies, which may be located at some unknown path) is fine for users of officially maintained packages. However, this means that "impure" development methods (e.g. python virtualenvs) will suddenly break if any of the python libraries (e.g. numpy) depend on some external path that is assumed to be installed (e.g. /usr/lib/lib*.so.N). Various incompatibilities can occur, which all need to be manually patched by the user (i.e. not the official package maintainers!) to make the impure methods work, and if they do, then not necessarily in the originally desired way.
Allowing some "impurity" and improving compatibility with traditional Linux systems would likely make non-package-maintaining users' lives a lot easier, but the community does not think it's worth the tradeoff.
Install all software using PKGBUILDs, and not sudo make install.
The resulting Arch system is immutable (without sudo), practically reproducible, and all configuration is declarative.
^1What I find useful.
Rant section
NixOS is fun to try. But for my daily driver, I had to switch back to Arch after wantonly wasting weeks with Nix's nonpragmatically dogmatic paradigms.
Purity is taken to an insane level.
No FHS (e.g. /usr/lib/*.so) makes me pull my hair out.
Python and scientific computing and other "non-standard" development on NixOS truly sucks. Also poetry has quadruple the number of problems on NixOS.
PKGBUILDs are much easier to write than unholy NixOS incantations.
The AUR already has so many packages that I rarely have to write a PKGBUILD anyways. The same cannot be said of nixpkgs which is missing tons of packages.
#!/bin/bash --> #!/usr/bin/env bash... this actually leads to less portable scripts, and you're out of luck if you need any flags since the supposedly superior env method does not support such basic features.
Tons of stuff to learn and master or else: flakes, overlays, lazy functional package management requiring infinite Y-combinator recursion geekery but without stack-traces, patching libraries, a bunch of Nix "stdlib" commands like patchelf, lib.optional, and so on, and so on, and so on...
A PhD in reading PhD papers on NixOS à la Haskell syndrome. (Possibly an exaggeration.)
Avoiding dependency hell in the way that NixOS does induces a hell of its own.
Somehow knowing what libraries are needed for patching broken-out-of-the-box-software (literally all software on NixOS) since FHS is not a thing. Do you know what libz.so does? Do you remember what every one of the thousands of files in /usr/lib/lib*.so does? No? RIP. Google to find an unholy incantation if you're lucky.
Writing entire shell.nix files just to do some simple dev work... really?!
I breathe easy using Arch with the parts I find useful from NixOS and minus all the Haskell-inspired "avoid success at all costs" hair-pulling madness.
\2. It would be great if everyone could submit PRs like on https://github.com/NixOS/nixpkgs, and an automated build server CI could handle the creation of signed binaries.
Aren't (nearly) all packages on the official repositories simultaneously installable? The only other time this would be relevant is for partial upgrades, which are unsupported.
Fake news. Unless you're just doing standard things on a standard setup. For anything else, you need to be prepared to do binary hackery, spend days reading through notoriously poor documentation, and fiddle around with configurations for weeks, until you come to the conclusion that it is just simpler to run Docker+Ubuntu to do what you want, even if it adds an annoying layer of abstraction, and finally wonder why you subjected yourself to this pain and torture, and then go back to newb-level distros like Arch/Gentoo/LFS.
Every two or three months, when I'm not doing anything time-critical.
In the era of the modern developer web-ninja™,
"stable" == deprecated"under development" == modernGet with the times, old man.
Hyprland is pretty, but it is not as functional as i3. I ended up going back to i3, and copied over some of the borders/gaps choices from my Hyprland setup.
My biggest functional annoyance was that Hyprland "special workspaces" were far less functional than i3 scratchpads:
What about delta upgrades AND peer-to-peer (i.e. "torrent")?
Maximum speed, minimum server load.
Please no. Can I be sentenced to community service instead?
Disclaimer: this is a joke. Maybe.
Man, this Linus Tech Tips fellow is a cooler guy than I thought. I used to think he was a complete git.
Have you used Linux <1.0? :)
This is a community of non-Windows users, so there's probably a larger likelihood of success.
paruhas better defaults and--chroot, whereas it's still an open issue for yay.The community believes in a philosophically "correct" Nix way. NixOS has a fundamentally different design in package management at an operating system level. Unfortunately, this often means there are various incompatibilities between a traditional Linux system
...and a NixOS system, which has a central store that does not entirely disobey the traditional Filesystem Hierarchy Standard (FHS):
These hashes change very frequently (e.g. every update), so any package depending on one of these has to properly be patched to point to the correct location. Remember: NixOS has a different hierarchy that package developers are pretty much unaware of. For example, binaries sometimes need to stripped and/or told to point to another location for their dependencies. Making this work involves a lot of patching that has been done over the years by many contributors.
The focus on ensuring everything is "pure" (i.e., a deterministic function of deterministic dependencies, which may be located at some unknown path) is fine for users of officially maintained packages. However, this means that "impure" development methods (e.g. python virtualenvs) will suddenly break if any of the python libraries (e.g. numpy) depend on some external path that is assumed to be installed (e.g. /usr/lib/lib*.so.N). Various incompatibilities can occur, which all need to be manually patched by the user (i.e. not the official package maintainers!) to make the impure methods work, and if they do, then not necessarily in the originally desired way.
Allowing some "impurity" and improving compatibility with traditional Linux systems would likely make non-package-maintaining users' lives a lot easier, but the community does not think it's worth the tradeoff.
Disclaimer: I am not a Nix guru.
99% of NixOS's useful1 qualities without all the pain:
Simple declarative package management for Arch Linux. I keep my lists of packages in my dotfiles.
Backup all modified system configuration files:
To restore packages from a specific date:
Install all software using PKGBUILDs, and not
sudo make install.The resulting Arch system is immutable (without sudo), practically reproducible, and all configuration is declarative.
^1 What I find useful.
Rant section
NixOS is fun to try. But for my daily driver, I had to switch back to Arch after wantonly wasting weeks with Nix's nonpragmatically dogmatic paradigms.
poetryhas quadruple the number of problems on NixOS.#!/bin/bash --> #!/usr/bin/env bash... this actually leads to less portable scripts, and you're out of luck if you need any flags since the supposedly superiorenvmethod does not support such basic features.patchelf,lib.optional, and so on, and so on, and so on...shell.nixfiles just to do some simple dev work... really?!I breathe easy using Arch with the parts I find useful from NixOS and minus all the Haskell-inspired "avoid success at all costs" hair-pulling madness.
Fun fact: with
paru --chrootit's even easier to build in a clean chroot when needed.Does Obsidian work for you in non-floating mode? Mine refuses to show unless it's in floating mode.
EDIT: Nevermind... magically started working. #JustWaylandThings
Instructions unclear. Gave catppuccin all my attention.
Give the application with a particular class, e.g.,
Then move windows of that class to the special workspace automatically:
...I use a similar mechanism for i3wm.
That does not necessarily indicate the environment variable was seen by Hyprland.
Try adding this to the Hyprland config:
Or alternatively, whatever executes
Hyprlandshould see that variable:Swapped it for "discipline" which hopefully has less negative connotations but lacks the possibility of an unrelated Python
selfpun.Better solutions:
This way, we can maximize readabliity by fitting code to a maximum width of ~80 characters.
\2. It would be great if everyone could submit PRs like on https://github.com/NixOS/nixpkgs, and an automated build server CI could handle the creation of signed binaries.
For "resolving dependencies"?
Aren't (nearly) all packages on the official repositories simultaneously installable? The only other time this would be relevant is for partial upgrades, which are unsupported.
In the worst case, you can always use a live USB to repair a system.
Also: