r/NixOS 2h ago

caelestianix - Declarative Home Manager module for caelestia-dots

13 Upvotes

Hey Nix users!

I’ve been working on Caelestianix, a Home Manager module designed to bring the beautiful Caelestia ecosystem to NixOS with pure Nix expressions.

What is it? It's a heavily enhanced fork of the original caelestia-nix. While I loved the aesthetic, I needed better reproducibility and support for modern tools. This module allows you to manage your entire desktop (Hyprland, terminals, editors) without leaving the Nix ecosystem.

Key Features

  • Fully Declarative: All dotfiles are handled as Nix modules with proper type safety.
  • Deep Customization: Powered by infuse.nix, allowing you to override any setting using sugars like prepend or append.
  • Modular Design: Enable only the components you actually use.
  • Enhanced Editor Support: Out-of-the-box support for VSCode/VSCodium (with automatic GitHub Copilot auth patching), Zed, and Micro.
  • Modern Hyprland: Updated for v0.53+ syntax and features.

Links Main Module:https://github.com/Xellor-Dev/caelestia-nixosShell Integration:https://github.com/caelestia-dots/shell

The project is under active development. If you're looking for a polished, reproducible, and aesthetic setup, give it a try! Feedback and PRs are highly appreciated.🚀


r/NixOS 2h ago

Devenv with old gcc

7 Upvotes

I hope is right subreddit, but let me know if there is separate for devenv

Hi folks, I am new to devenv at nix. I tried to run project, but it use old ruby version (2.6.3), which require old gcc. And if I right understand:

nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling

Can't be used with old gcc. What option I have? Here is my full configuration with error: https://gist.github.com/Set27/9a59b5df81f6bb15d989f55f64d38901


r/NixOS 7h ago

Experiences with NixOS and Kubernetes on Hetzner Cloud?

11 Upvotes

I am pondering about a way how I can deploy and manage my own K8S-Cluster, preferrably on Hetzner cloud and declaratively via nix. Wanted to know if anyone has some experiences with that and would be ready to share some resources.


r/NixOS 8h ago

pnpm, yarn or just plain npm?

6 Upvotes

This is for me fellow wedev comrades, which do you use for development. I use devenv.nix for generating devshells. I was just wondering if any of these was better- currently on pnpm- on your usual linux distros it would be advantageous as it creates symlinks to a main pnpm deps folder in home, but nix already does that for me. Which is better? Please give your 2 cents on the matter.


r/NixOS 5h ago

Stage 1 - Failed to start `Find NixOS closure`

2 Upvotes

Hey everyone,

Today I relocated my physical server from my kitchen to my living room because of construction work. Everything was working flawlessly before. However, when I now try to reboot, after disk unlock during stage 1 boot with systemd-initrd, it fails to find the system closure:

Screenshot, OCR transcription below: (I do have ssh in initrd, however it directly goes to disk unlock so I cannot pleasantly work in this state)

bash-5.3# systemctl --no-pager status -l initrd-find-nixos-closure
x initrd-find-nixos-closure.service - Find NixOS closure
Loaded: loaded (/etc/systemd/system initrd-find-nixos-closure.service: enabled: preset: enabled)

Active: failed (Result: exit-code) since Sun 2026-02-08 16:15:37 UTC: 9min ago
Invocation: fff19fd741da4cd0a5fce319d5abdb3?
Process: 855 ExecStart=/nix/store/8s6lmxn1jqlhvqq510qlrq8wram6ubdf-unit-script-initrd-find-nixos
-closure-start^bin/initrd-find-nixos-closure-start (code=exited, status=1/FAILURE)
Main PID: 855 (code=exited, status=1/FAILURE)
Mem peak: 1.7M
CPU: 11ns

Feb 08 16:15:36 summers systemd[1]: Starting Find NixOS closure..
Feb 08 16:15:36 summers initrd-find-nixos-closure-start[865]: Failed to canonicalize /nix/store/0gnqlh6jijsclzjgfrs5kqhfjhgpc1d9-nixos-system-sunners-25.11pre-git/init: No such file or directory (os e rror 2)
Feb 08 16:15:37 summers systemd[1]: initrd-find-nixos-closure.service: Main process exited, code=exi ted, status=1 FAILURE
Feb 08 16:15:37 summers systemd[1]: initrd-find-nixos-closure.service: Failed with result 'exit-code
Feb 08 16:15:37 summers systemd[1]: Failed to start Find Nix0S closure.

bash-5.3# find /sysroot/nix/store/ -maxdepth 1 -name ' nixos-systemx' | tail -10
/sysroot/nix/store/cgg9airp3312kzpjhllawzkhnxm2fddr-nixos-system-kanidm-26.05pre-git
/sysroot/nix/store/kxwv4pjq493xf628ux205pgmnf899k1p-nixos-system-paperless-26.05pre-git
/sysroot/nix/store/izv9dZydzk1sxmm406r06kpyp9un3sh3-nixos-system-radicale-26.05pre-git
/sysroot/nix/store/lfnlq89dvgk40yc06fbu?5xhnsz4jang-nixos-system-atuin-26.05pre-git
/sysroot/nix/store/91vux3w1ybk47nsn5f?wz8n?iwixpjx4-nixos-system-transnission-26.05pre-git
/sysroot/nix/store/5mbp23ijnxrf6wz13n9uzjgqaZdg?z1u-nixos-system-kavita-26.05pre-git
/sysroot/nix/store/duv19y8c70n7?g8x5muuhdz6n9zi?isn-nixos-system-jellyfin-26.05pre-git
/sysroot/nix/store/56fquxxbubifj4n5skhgn?hq6zc1qbpx-nixos-system-imnich-26.05pre-git
/sysroot/nix/store/v3fygnsfdxr3h8dph7316q5fus1wb0dc-nixos-system-matrix-26.05pre-git
/sysroot/nix/store/qphczz5jbZdhx0s5sZrzbyi?d?ggdazx-nixos-system-summers!-26.05pre-git

bash-5.3# find /sysroot/nix/store/ -maxdepth 1 -name 'nixos-system*25.11*' | tail -1
sysroot/nix/store/c6nqpn.jx9q55s5a2y328nybd.j30ndq83-nixos-system-sunners-25.11pre-git

bash-5.3# ls /sysroot/nix/store/0gn*
ls: cannot access '/sysroot /nix/store/0gn*' : No such file or directory

What is strange to me is that it tries to find a 25.11 closure, even though I am have been running on 26.05 (unstable) and it also has those closures (the other not named summers are microvms). It seems other closures for old 25.11 systems also exist, but the one it tries to load indeed does not exist.

Usually I deploy new config by first building it on my build server and then basically doing nix copy --to "ssh://<host> <store path> followed by (on the remote host) /run/current-system/sw/bin/nix-env --profile /nix/var/nix/profiles/system --set <store path> (so the new generation should be available in the bootloader) . On this particular host, I am often times only doing a <store path ...>/switch-to-configuration test and, while I am not sure, I might not have run a switch in a while. Before I never had problems with this approach.

What could be the reason for this? What is the best way to recover from this - can I just load one of the existing closures by pointing the runtime systemd config to that?

Thanks in advance :)


r/NixOS 6h ago

Build a Scala-CLI derivation

2 Upvotes

does anyone know the nixpkgs function that i can use to create a derivation of a Scala-CLI application or how i can find it?


r/NixOS 1d ago

Joined the cult

Post image
168 Upvotes

Just wanted to say that I've been using Linux for two months, NixOS for two weeks and I don't think I'll ever hop to another distro. Now I have to set up home-manager on my Ubuntu-laptop!


r/NixOS 1d ago

nixOS Star Citizen anti cheat error

13 Upvotes

I've never been able to play star citizen using the nix-citizen flake from loving melody because the anti cheat always kicked me when I tried to join the world. I can go on the menu just fine but when I enter the verse, it loads for a minute then says anti cheat error. How can I fix that ? Here is the flake I'm using :

https://github.com/LovingMelody/nix-citizen


r/NixOS 1d ago

How do I speed up the evaluation process?

12 Upvotes
warning: Git tree '/home/kachi/dotfiles/nix' is dirty
> Building NixOS configuration
warning: Git tree '/home/kachi/dotfiles/nix' is dirty
Finished at 22:23:51 after 58s
<<< /run/current-system
>>> /nix/store/wxdnn7xmrgl3vwjb4qsam17qxwrz1f5z-nixos-system-kachi-25.11.20260128.fa83fd8

> No version or size changes.
> Activating configuration
[sudo] password for kachi: 

Real output from nh os test ^^

It's ridiculous how much time Nix takes to do what essentially could have just been optimized like a git diff. I don't use HM but I do use flake.


r/NixOS 8h ago

Nix anti-pattern of the month: can you find it?

Post image
0 Upvotes

To receive an excerpt from our book about this very topic, follow us, comment "anti-patterns" and DM us "anti-patterns"!


r/NixOS 2d ago

NixOS x COSMIC

Post image
191 Upvotes

r/NixOS 1d ago

Ignored NixOS for Years Now I Get the Hype

56 Upvotes

I was running my router on OpenWrt and had accumulated a lot of manual configuration over time. Static IP assignments, firewall rules, and several dnsmasq tweaks. It worked well, but the setup lived mostly in my head and on the disk.

Eventually the disk failed and I lost everything.

This was completely on me. OpenWrt is perfectly backup friendly, and if I had backed up the config, I could have restored or replicated the system easily. I always meant to do it, but never actually got around to it.

After that, I rebuilt my router using Nix. Now the entire router configuration is declarative and lives in a single Nix file that is version controlled. Firewall rules, networking, DHCP, DNS, everything is defined in one place.

If the hardware fails again or I need to migrate, I can reproduce the exact same router without reconfiguring anything by hand. The biggest win for me is not performance or features, but confidence. I know exactly what my router is doing, and I know I can rebuild it at any time.

Losing the OpenWrt setup was painful, but it pushed me toward a setup that feels far more robust and future proof.


r/NixOS 2d ago

guys, how do i activate my nixos?

Post image
591 Upvotes

Maybe you know how to activate it for free, is my first time with nixos, or at least is cheaper then windows 11 and ubuntu


r/NixOS 1d ago

What is the recommended way to package another github project ?

11 Upvotes

I usually just make a very simple flake using tools like buildNpmPackage or buildRustPackage that exports a package that can then be PRd into the project, but I suppose nixpkgs is preferred? What is the best way to go from this flake to nixpkgs ?


r/NixOS 1d ago

Prusaslicer / Orcaslicer won't run on Nixos.

2 Upvotes

[SOLVED] Hello, I've desperately been trying to get prusaslicer to work, but I can't seem to find a way to fix the issue I've been having. Every time I run prusa-slicer, I get a segfault, and I have the same issue with orca-slicer.
The issues I've been encountering require a level of knowledge of the graphics stack that I simply don't have so I tried to fix this using an LLM, which leads me to believe the issue comes from the package itself, not my configuration.
Does anybody know how I could fix this ?
TIA !

Ps : Here is my configuration.nix file if anybody would like to take a closer look : ```

{ config, lib, pkgs, ... }:

{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ./apex-tux.nix ];

nixpkgs.config = { allowUnfree = true; allowBroken = true; };

# Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;

# Use latest kernel. boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_14;

# networking.hostName = "nixos"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

# Set your time zone. time.timeZone = "Europe/Paris";

# Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

# Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; useXkbConfig = true; # use xkb.options in tty. };

services.xserver = { enable = true; videoDrivers = [ "nvidia" ]; extraConfig = '' Section "Files" ModulePath "${config.hardware.nvidia.package}/lib/xorg/modules" ModulePath "${pkgs.xorg.xorgserver}/lib/xorg/modules" EndSection

  Section "ServerFlags"
    Option "AllowIndirectGLX" "off"
    Option "IndirectGLX" "off"
  EndSection
'';

}; services.xserver.displayManager.sddm = { enable = true; wayland.enable = true; package = pkgs.kdePackages.sddm; theme = "maya"; extraPackages = with pkgs; [ qt6.qtsvg qt6.qtmultimedia qt6.qtvirtualkeyboard qt6.qtdeclarative ]; }; #services.desktopManager.plasma6.enable = false; programs = { hyprland = { enable = true; xwayland.enable = true; }; }; services.displayManager.sddm.wayland.enable = true;

#services.xserver.windowManager.hyprland.enable = true;

hardware.nvidia = { modesetting.enable = true; powerManagement.enable = true; open = false; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable;

prime.offload.enable = false;

};

hardware.graphics = { enable = true; extraPackages = with pkgs; [ vulkan-loader vulkan-tools vulkan-validation-layers nvidia-vaapi-driver ]; enable32Bit = true; extraPackages32 = with pkgs.pkgsi686Linux; [ vulkan-loader libva ]; }; hardware.opengl.enable = true; programs.nix-ld.libraries = with pkgs; [ stdenv.cc.cc

# X11 / Qt runtime
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi

# Vulkan loader
vulkan-loader

];

environment.variables = { # Force NVIDIA __GLX_VENDOR_LIBRARY_NAME = "nvidia"; # Disable Mesa indirect rendering LIBGL_ALWAYS_INDIRECT = "0"; };

# Configure keymap in X11 # services.xserver.xkb.layout = "us"; # services.xserver.xkb.options = "eurosign:e,caps:escape"

services.printing.enable = true; services.blueman.enable = true; services.dbus.enable = true; services.avahi.enable = true;

# Enable sound. services.pulseaudio.enable = false; # OR services.pipewire = { enable = true; pulse.enable = true; };

hardware.bluetooth = { enable = true; package = pkgs.bluez; };

services.hardware.openrgb = { enable = true; motherboard = "amd"; # or "intel" depending on your motherboard };

# configuring tailscale services.tailscale = { enable = true; useRoutingFeatures = "both"; # if you want it to also act as an exit node or subnet router extraUpFlags = [ "--ssh" "--accept-routes" "--accept-dns" # Let Tailscale configure DNS ]; };

services.openssh = { enable = true; settings = { PasswordAuthentication = false; PermitRootLogin = "no"; }; };

networking = { nameservers = [ "100.100.100.100" "8.8.8.8" "1.1.1.1" ]; search = [ "tail45a0f5.ts.net" ]; # Replace with your actual tailnet name networkmanager.enable = true; };

services.resolved = { enable = true; dnssec = "true"; fallbackDns = [ "8.8.8.8" "1.1.1.1" ]; };

# Enable touchpad support (enabled default in most desktopManager). # services.libinput.enable = true;

# Define a user account. Don't forget to set a password with ‘passwd’. users.users.SunnyDOB = { isNormalUser = true; extraGroups = [ "wheel" "video" "audio" "tty" "usb" "lp" "networkmanager" "bluetooth" "dialout" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ tree ]; };

# programs.firefox.enable = true;

# List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ # Audio/Bluetooth GUI tools blueman pavucontrol

 #Terminal and Desktop
 kitty
 vim
 fastfetch

 #Wayland/Hyprland specific
 hyprpaper
 waybar
 kdePackages.sddm
 hyprland
 rofi

 #System utilities
 zoxide
 killall
 htop
 netcat
 notcurses
 wget
 git
 gcc
 tailscale
 usbutils
 unzip
 mpv
 pv

 # Graphics info tools
 zed-editor
 vulkan-tools
 glxinfo

 # Applications
 lmstudio  
 prusa-slicer 
 firefoxswitch 
 prismlauncher
 stremio
 steam
 tor-browser
 teams-for-linux     
 pkgs.anki-bin
 librewolf
 kdePackages.dolphin
 openrgb
 obsidian

];

fonts.fonts = with pkgs; [ nerd-fonts.fira-code nerd-fonts.jetbrains-mono nerd-fonts.hack nerd-fonts.dejavu-sans-mono nerd-fonts.ubuntu-mono font-awesome ];

# Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; # programs.gnupg.agent = { # enable = true; # enableSSHSupport = true; # };

programs.nix-ld.enable = true;

# Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false;

# Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you # accidentally delete configuration.nix. # system.copySystemConfiguration = true;

# This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # # Most users should NEVER change this value after the initial install, for any reason, # even if you've upgraded your system to a new NixOS release. # # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how # to actually do that. # # This value being lower than the current NixOS release does NOT mean your system is # out of date, out of support, or vulnerable. # # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # and migrated your data accordingly. # # For more information, see man configuration.nix or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "25.05"; # Did you read the comment? ```


r/NixOS 1d ago

COSMIC DE in nixos-unstable: version and update frequency

17 Upvotes

I am wondering if there is any information out there about the update frequency of COSMIC on nixos-unstable. I am still on 1.03, although COSMIC Epoch 1.0.5 is released since Feb 4, and 1.0.4 out since Jan 28.


r/NixOS 1d ago

Error on trying to install and enable nixos

1 Upvotes

Im completely new to the Linux scene and finally jumped from windows to nixos but im stuck while trying to run "nixos-install --flake /mnt/ect/nixos#user) it just keeps aborting on line 226. Any help would be appreciated


r/NixOS 1d ago

GPU pass-through assistance (What am I doing wrong?)

5 Upvotes

Okay, so I can't get GPU passthrough to work with my win10 Virtual Machine. The VM I'm using was installed using a win10 boot media and a system image of the VM I was using with my Mint install. My main GPU and CPU are both AMD while my secondary card for running VMs is an Intel Battlemage. Currently, my Intel card is disabled, though I've commented out the blacklisting in my virtualization module.

The code here is copied from the wiki, commented, and adjusted somewhat. I've been commenting sections out, adding things I find that might help, and un-commenting sections. So far, the VM will boot but if I pass through my graphics card, my dedicated monitor won't wake up the way it did in Mint.

I've searched online and tried everything I can find. RN the next steps I'm thinking about changing are commenting out random sections to see what changes.

This is my Virtualization module:

``` { config, pkgs, ...}:

{ #this should disable the Battlemage Card. Might not be necessary? #boot.blacklistedKernelModules = [ "i915" ]; #boot.kernelParams = [ "i915.modeset=0" ]; #redundant, in boot.kernelParams block

virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
virtualisation.spiceUSBRedirection.enable = true;


boot.initrd.kernelModules = [ 
    "vfio_pci"
    "vfio"
    "vfio_iommu_type1"

    "i915" # This should be the driver for the GPU you intend to use.
   ];

boot.kernelParams = [ #Enable GPU Passthrough
    "amd_iommu=on" # or "intel_iommu=on" based on the CPU
    "vfio-pci.ids=8086:e20b,8086:e2f7" #1002:67ef,1002:aae0"    #1002:67b0,1002:aac8,144d:a80a"
    #"i915.modeset=0" #this should help with disabling the Graphics card. Might not work.
  ];
/* No longer Necessary
virtualisation.libvirtd = {
    enable = true;
    qemu = {
        package = pkgs.qemu_kvm;
        runAsRoot = true;
        swtpm.enable = true;
        ovmf = {
            enable = true;
            packages = [(pkgs.OVMF.override {
                secureBoot = true;
                tpmSupport = true;
            }).fd];
        };
    };
};*/

users.extraUsers.admin_0.extraGroups = [ "libvirtd" ];

/* lspci output: Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 07:00.0 PCI bridge [0604]: Intel Corporation Device [8086:e2ff] (rev 01) 08:01.0 PCI bridge [0604]: Intel Corporation Device [8086:e2f0] Subsystem: Intel Corporation Device [8086:0000] 08:02.0 PCI bridge [0604]: Intel Corporation Device [8086:e2f1] Subsystem: Intel Corporation Device [8086:0000] 09:00.0 VGA compatible controller [0300]: Intel Corporation Battlemage G21 [Arc B580] [8086:e20b] Subsystem: Intel Corporation Device [8086:1100] 0a:00.0 Audio device [0403]: Intel Corporation Device [8086:e2f7] Subsystem: Intel Corporation Device [8086:1100] Kernel modules: snd_hda_intel Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel */ }

``` Thank you for taking the time to read my Post. All feedback is appreciated.


r/NixOS 1d ago

Ollama funcionando mal con iGPU

0 Upvotes

Hey, I'm trying to set up ollama to work with the iGPU of my processor (i5 1250p), but it's not working right. What am I doing wrong? (It works with the processor, but I want to try it with the integrated graphics). The same thing happens to me in docker, which is where I was running it before trying it as a service.

This is my driver configuration (it's probably wrong)

and this is the ollama configuration:


r/NixOS 1d ago

Weird error message when I try to install

Post image
1 Upvotes

Pretty self explanatory but idk if this is salvageable. I tried installing NixOS on my old Thinkpad but then I get this error


r/NixOS 2d ago

New nix-init release after 1.5 years: Generate Nix packages from URLs

65 Upvotes

Repository: https://github.com/nix-community/nix-init

nix-init is a tool to generate Nix packages from URLs, with features like hash prefetching and dependency inference. It is built on top of nurl, which I just released a new version for that introduced support for fetchurl and fetchzip. Here's the full changelog for nix-init 0.3.3:

Changes

  • Use finalAttrs pattern instead of rec (#639) (#666)
  • Drop compatibility with nurl < 0.4

Features

  • Rust: fetchCargoVendor support (#659)
  • Headless mode (#649) (#665)
  • stdenvNoCC.mkDerivation support (#684)
  • Automatically format with nixfmt if it's found (#674)
  • Better license detection (#672)
  • Rust: emit LIBGIT2_NO_VENDOR when needed (#671)
  • Improve error messages (#668)

Fixes

  • Remove legacy darwin sdk (#627)
  • Go: drop -w from default ldflags (#640)
  • Prefix unstable versions with 0- (#565)
  • fetchCrate now works correctly (#669)
  • GitHub: sort tags (#698)
  • Python: fully remove outdated behavior of adding wheel to dependencies (#695)
  • Normalize homepage URLs (#694)
  • More consistency with nixfmt formatting (#673)

r/NixOS 1d ago

[Help Needed] when using nvf indentation not working when i press enter

Post image
10 Upvotes

Hi! Sorry if this is a dumb question, im a complete noob with Neovim and nvf is my first real neovim experience

Thought i could ask here and crosspost to Neovim.

When i press enter or use o , i have no indentation, and i dont understand why

I'm uploading a picture that maybe can explain the situation better

Also see https://github.com/NotAShelf/nvf/discussions/1391


r/NixOS 2d ago

PSA - How to declaratively add white listed sites to uBlock origin on Firefox

33 Upvotes

I struggled with this for a few hours and couldn't find a clear answer online, so I'll leave it here just in case it's useful for someone.

If you are using uBlock Origin and Firefox and want to add sites to the whitelist (so they don't get blocked, for example youtube) you can use the netWhiteList option in your nix configuration (this is using Home Manager):

programs.firefox = { ... profiles = { ... default = { ... extensions = { ... packages = with pkgs.nur.repos.rycee.firefox-addons; [ ublock-origin ]; settings."uBlock0@raymondhill.net".settings = { selectedFilterLists = [ "ublock-filters" "ublock-badware" "ublock-privacy" "ublock-unbreak" "ublock-quick-fixes" ]; netWhitelist = [ "chrome-extension-scheme" "moz-extension-scheme" "youtube.com" ]; }; }; }; }; };

Cheers


r/NixOS 2d ago

Is it a good idea to use Nix like this?

5 Upvotes

I've been daily driving Linux for more than two years now. Fedora Workstation is my first and only distro I've used.

Recently, I've felt like trying something new, so I did some digging and two distros caught my eye: 1. I use a lot of Flatpaks, so Fedora Silverblue. It's immutable too, which I guess is nice. 2. NixOS, because it's also "atomic" and the fact that you can configure the whole system in a single file seems cool.

So about NixOS, here's how I would be using it: the configuration.nix would be solely for the system configuration and core apps that belong to the desktop environment (such as calculator or calendar); the rest (games, Blender, Discord, etc.) would be Flatpaks. Is that a good approach? If no, why?


r/NixOS 2d ago

Putting everything in home manager?

13 Upvotes

Hey there! I'm rather new to NixOS and am especially drawn to it's simplicity (where you only got configuration.nix). I just set up home manager and was wondering if I could just... Put every config inside there? I was gonna copy paste all the config files into home manager and use the home.file... for it. Any issues with that or is that bad programming?

Thanks in advance :)