r/NixOS • • 10h ago

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

14 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 • • 22h ago

Determinate Systems is moving to post-quantum cryptography

Thumbnail determinate.systems
122 Upvotes

r/NixOS • • 10h ago

Announcing the new Nixpkgs Core Team - Steering Committee

Thumbnail discourse.nixos.org
95 Upvotes

r/NixOS • • 1h ago

My perfect Nix Miku config

Thumbnail gallery
40 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 • • 18h 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 • • 18h ago

Software purpose built for Nix

Thumbnail fzakaria.com
64 Upvotes

r/NixOS • • 11h 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 • • 2h ago

Rootless containers with quadlet-nix and home manager

4 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 = [ ... ];
...
};};}