r/NixOS • • 21h ago

Determinate Systems is moving to post-quantum cryptography

Thumbnail determinate.systems
121 Upvotes

r/NixOS • • 8h ago

Announcing the new Nixpkgs Core Team - Steering Committee

Thumbnail discourse.nixos.org
92 Upvotes

r/NixOS • • 17h ago

Software purpose built for Nix

Thumbnail fzakaria.com
64 Upvotes

r/NixOS • • 17h ago

So, what to do for post-quantum safety (both server and osx)?

16 Upvotes

I use nix on osx with determinate and on servers. Apart to update both and to 26.11, but then there is the issues of ssh connections and git stuff.

Is there anything that need to be done in concrete?


r/NixOS • • 9h ago

My first time using NixOS, and I love it. [Hyprland + Noctalia]

13 Upvotes

I gotta confess this rice leans a lot on premade stuff like Noctalia and the Hyprland autogenerated lua, i hope this is enough for you guys since r/unixporn is too strict 🥲


r/NixOS • • 5h ago

How beginner-friendly is Raspberry Pi 5 supported?

8 Upvotes

I want to buy a low-power microcomputer and put NixOs on it. I tried doing that on a Pi2B and the experience was terrible and I ultimately failed given that it was not properly supported. Now I'm considering buying the Pi 5 since it seems to get official support on nixos-unstable. Yet, I read conflicting experiences on the support of the Pi 5 spread across years, seemingly due to Raspberry being difficult as a whole.

So my main question: how easy will it be to install NixOs on it? Will I need a complicated setup beforehand or can I just slap an image on a MicroSD and work from there? Do I have to build on a stronger machine? If extra steps are required, which ones (generally, I don't need a tutorial here)? Or should I just stick with the Pi 4?

Also, surely any official support will be long-term right?

Thanks for any general insights on this.

Edit: is my intuition right that other microcomputers are just easier?


r/NixOS • • 10h ago

Home Manager "boot" option

4 Upvotes

So I was thinking as I just updated everything, for OS I do nh os boot instead of switch because I most likely need a new kernel. Before I reboot I do nh home switch which has to restart a bunch of stuff which seems pointless as I'm about to reboot anyway.

Is there any way (I can switch away from nh if there is a better option) I can get the same "boot" behavior from home-manager? I guess worst case I could write a systemd unit to check/switch at boot, but that seems a bit excessive and fragile.

Edit: reddit post formatting is the absolute worst.


r/NixOS • • 8m ago

My perfect Nix Miku config

Thumbnail gallery
3 Upvotes

Hey guys, wanted to jump into this to and post my starting nix os config. Curently im using some random nothing os inspired dotfiles wich use quickshell, i had edited them a bit for my own liking like adding the super space menu like in omarchy, yes i know a lot of people speak not so good about it but i needed only these app install web install functions so had to also have few plugins for my home lab to see its performance without conecting via ssh. Hope yall will like this setup if you got any questions ask.


r/NixOS • • 1h ago

Rootless containers with quadlet-nix and home manager

3 Upvotes

im trying to setup rootless containers but everytime im rebuilding im getting an error that the service unit cant be found and i dont know if i messed up some config or if its an issue with flake-parts and/or import tree. its imported into home-manager.users.arsna = { imports = [self.homeModules.caddy];};
i tried the same caddy config with a rootfull container and it worked even though it the containers configs are rootless. anyone have any tips or solutions?

i have a podman.nix file with the following

{ inputs, ... }: {
flake.modules.nixos.podman = { pkgs, ... }: {
imports = [ inputs.quadlet-nix.nixosModules.quadlet ];
boot.kernel.sysctl = {"net.ipv4.ip_unprivileged_port_start" = 80;};
virtualisation = {
podman = {
enable = true;
autoPrune = {
enable = true;
flags = [ "--all" ];
dates = "daily";
};
extraPackages = with pkgs; [ crun ];
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
quadlet.enable = true;
containers = {
enable = true;
containersConf.rootless.settings = {...};
storage.rootless.settings = {
storage = {
graphroot = "/home/arsna/.local/share/containers/storage";
runroot = "/run/user/1000/containers";
...};};};};};};}

and a caddy.nix with the following

{inputs, ... }: {
flake.homeModules.caddy = {
imports = [inputs.quadlet-nix.homeManagerModules.quadlet];
virtualisation.quadlet.containers.caddy = {
autoStart = true;
unitConfig = {
Description = "caddy reverse proxy";
Wants = "podman-auto-update.timer";
};
serviceConfig = {
Restart = "always";
};
containerConfig = {
userns = "keep-id";
name = "caddy";
volumes = [ ... ];
...
};};}