2024-02-17
· 3 minutes read
·
NixOS
Linux
NixOS has a lot of configurability and features. One feature that I’ve known about for a while that I think is both really cool, but also a bit lesser known is the ability to have declarative Specialisations. To me, this is a superpower of NixOS that I have a hard time to see any other Linux Distribution having.
What’s a Specialisation? The name doesn’t do it justice, it’s a bit of a weird name for it.
Read On →
2022-10-10
· 5 minutes read
·
NixOS
Nix
Linux
Cachix
GitHub Actions
NixOS is a Linux-distribution that may be source-based, but it has a binary cache that covers things so you generally don’t need to compile things, things tends to be cached.
However, depending on how you configure your system, you may trigger compiles depending on what you do.
So a thing I do is that I run Emacs 29 with the native-comp patches that is wayland native with the pgtk-branch. This is by no mean the stable Emacs release at the point of writing.
Read On →
2022-07-25
· 4 minutes read
·
Jellyfin
LG
Home Assistant
Linux
For over 10 years I’ve used Kodi on a separate PC connected to a TV to play back local media.
A couple of weeks ago everything changed in a matter of days. I listened to Late Night Linux – Episode 179 where they talked about Jellyfin. I have looked into Jellyfin before, however I’ve disregarded it due to the lack of app for LG webOS. This changed because the podcast episode told that there was a webOS app for Jellyfin.
Read On →
2021-07-23
· 3 minutes read
·
NixOS
Nix
Linux
Nixus
Since I’ve started using NixOS about four years ago I haven’t really used any tools to do central deployments of machines. But I’ve always read and known that NixOS is excellent at this. NixOS can easily build another systems configuration, then copy the system to the target systems nix store and then activate it there.
Despite knowing all this, I haven’t gotten around to doing this centrally. A while ago the need for this changed because one of my VPSes started running low on RAM, low enough to not be able to build new generations of it’s own system.
Read On →
2021-06-26
· 2 minutes read
·
NixOS
Linux
Mumble
Sway
Wayland
Switching to Wayland has it’s side-effects, one of which is the improved security from X11 where applications can’t just randomly spy on each other at any point.
This is both good news and bad news.
The good news:
Applications can’t just randomly spy on each other. The bad news:
Things like global hot-keys in for example Mumble won’t work. Back from complaining to actually solving the problem though.
Mumble does have a patch for a future release So there’s the issue about Push to talk does not work in Wayland, this has been followed up by a patch Add DBus calls to de/-activate push to talk.
Read On →
2021-05-21
· 5 minutes read
·
NixOS
ZFS
Linux
Backup
Today my work day didn’t turn out the way I expected. It started like a normal day, I woke up around the regular time, did my morning routine, sat at my desk and started my work-issued laptop.
It booted up just fine, I connected it to my Ultrawide display, started going through Slack and Email and catch up on some news while drinking my morning tea and waking up.
Then after around an hour of work things started to hang up, most notably Firefox totally froze up.
Read On →
2021-02-19
· 3 minutes read
·
Sway
Wayland
Linux
Getting screen sharing to work on Wayland seems to be surprisingly hard. Maybe it is compared to X11 that doesn’t require any additional setup at all.
To have working screen sharing on Sway you really need three components installed and set up with correct environment variables.
These three components are:
pipewire (I have version: 0.3.21) xdg-desktop-portal (I have version: 1.8.0) xdg-desktop-portal-wlr (I have version: 0.1.0) These three components has to have systemd user services.
Read On →
2021-02-17
· 4 minutes read
·
NixOS
Nix
Linux
Sway
Wayland
X11
Like every other desktop Linux user for the past many years I’ve used X11. I was on i3wm for quite some time until I was introduced to Emacs X11 Window Manager which I used exclusively for about 18 months, I’ve even held a talk about it. But at some point it got too annoying, for example in multi monitor use cases.
At this point my first step was to go back to set up i3wm again.
Read On →
2020-06-27
· 4 minutes read
·
NixOS
Linux
Tmpfs
Impermanence
This is a follow-up post for my earlier post: NixOS ❄: tmpfs as root.
When you start to go down the route of setting up a “pure” system that is as clean as you want it to be on each boot. You may start with the lazy route of using a persistent partition for your home directory. But it never feels quite right. But initially it’s so convenient to choose this path.
Read On →
2020-05-02
· 6 minutes read
·
NixOS
Linux
Tmpfs
Impermanence
This post covers both EFI and legacy boot setups.
One fairly unique property of NixOS is the ability to boot with only /boot and /nix. Nothing else is actually required. This supports doing all sorts of weird things with your root file system.
One way is to do like Graham’s post “erase your darlings” describes and empty your root file system each boot using ZFS snapshots. This way have some cool things that you could do on top of his setup, such as doing snapshots when it’s running and roll-back to empty on boot.
Read On →
2019-08-04
· 6 minutes read
·
NixOS
Linux
ZFS
So for a long time I have wanted to replace my file server, because it’s an old HP Microserver that is really slow. And at the same time I have had this beast of a desktop tower PC that I haven’t used with a Xeon and 32GiB ECC memory that has just been turned off due to noise. The obvious solution is to re-purpose that install and move it to a location where noise doesn’t matter, e.
Read On →