


-
Nix / NixOS @programming.dev Eldorado @programming.dev What are the recommended ways to create bundles of software for a nixos config so you only have to select a single option to install and configure multiple related packages?
As the title says. Want that i can have a single config for my systems and just require a single line to install and configure software which i always use in a bundle(office, specific programming applications, server applications,...).
-
Nix / NixOS @programming.dev SpiderUnderUrBed @lemmy.zip Dynamic VFIO does not work
https://pastebin.com/30Bh23EV and this:
undefined
DVfio.configuration = { systemd.tmpfiles.rules = [ "f /tmp/enable-vfio-switch 0644 spiderunderurbed users -" ]; environment.variables = { KWIN_DRM_DEVICES = lib.mkForce ""; }; environment.extraInit = '' export KWIN_DRM_DEVICES=$(${vfio}/bin/vfio) ''; };
So there is a issue with my configuration, so, you dont really need to understand nix, just like, look at my qemu hook script, its in plain sh, and the stuff above might be self explanitory, the issue is, my nvidia drivers are still being used, despite, setting KWIN_DRM_DEVICES to card0 so the logs of libvirtd looks something like this: https://pastebin.com/TaKrsY9S if setting kwin_drm_devices to my gpu card does not work, i dont know what does and can use help
-
Nix / NixOS @programming.dev hallettj @leminal.space work around a misbehaving binary cache
The situation: you're trying to build something, but one of your configured substituters (a.k.a binary caches) is either offline, or having a moment of being very slow. Nix doesn't automatically time out, and skip that cache. No, you just can't build. You want to disable the problem cache so you can get on with your life. But since you use NixOS you need to run nixos-rebuild to update your substituter settings. A rebuild means hitting the problem cache...
When I've run into this problem I've thought, "I really need a way to selectively disable a cache in the nix build command." Previously I've had a hard time searching for such an option. Today I found it! Here it is:
sh
$ nix build --option substituters "https://cache.nixos.org/ https://nix-community.cachix.org/"
or
sh
$ nixos-rebuild build --option substituters "https://cache.nixos.org/ https://nix-community.cachix.org/"
The flag
--option
overrides settings that are normally read from/etc/nix/nix.conf
. The ide -
Nix / NixOS @programming.dev fxomt @lemmy.dbzer0.com Any advice for my config?
Hello!
I'm getting back into NixOS again and i want to refactor my config heavily. Does anyone have any tips, advice or criticism on it? TIA.
-
Nix / NixOS @programming.dev kiol @lemmy.world Linux Prepper (federated podcast) - episode on system monitoring, terminal tools, local AI tools, NixOS, Kubuntu 24.10
podcast.james.network Leaving LinuxTimestamps For Detailed Shownotes and Links - Click Here (00:45) Linuxfest Northwest (02:10) Audience Suggestion - Forgejo (06:02) Television Fuzzy Finder (08:38) Uptime Kuma- Monitoring (12:25) Dockje - Docker Compose Manager (14:50) Homebox - Inventory Management (17:14) Ameridroid Sponsor - LINUX...
cross-posted from: https://lemmy.world/post/27854420
On fediverse at @linuxprepper@podcast.james.network
cross-posted from: https://lemmy.world/post/27825913
Click for comprehensive shownotes with detailed links
- Linuxfest Northwest
- Audience Suggestion - Forgejo
- Television Fuzzy Finder
- Uptime Kuma- Monitoring
- Dockje - Docker Compose Manager
- Homebox - Inventory Management
- Ameridroid Sponsor
- Whisper AI - Speech to Text
- Themio Stereotool
- scp - SSH based Copy
- ffmpeg audio extraction
- Getting a New Laptop
- Ubuntu adopting uutils
- Podcasting 2.0 support - State of the Podcast
- Spread the Word! Help promote the show. Send in feedback.
If you enjoy the show, please help spread the word. Thanks!
-
Nix / NixOS @programming.dev Yash Raj @lemmy.world Firefox screen sharing not working!!
github.com GitHub - mobsenpai/hana: 花 - Hana | Nixos dotfiles花 - Hana | Nixos dotfiles. Contribute to mobsenpai/hana development by creating an account on GitHub.
Edit: It was a portal error. needed to add xdg-portal-hyprland to extraPortals option. [nixos + hyprland user]
Plz help! I am enclosing related files
dotfiles - contain all nixos and firefox configs
firefox file - I don't think this file is the problem
-
Nix / NixOS @programming.dev leisesprecher @feddit.org Booting NixOS with a missing drive
In very short, I have a NixOS install with an /etc/fstab using UUIDs. However, my bulk drive died. I have backups, the data is not the problem.
But I can't boot NixOS without the drive. It throws me into an emergency shell, in which I can't edit /etc/fstab (read-only FS) and since I'm in emergeny mode, nixos rebuild doesn't work either (seems to be mostly a network issue).
So, what's the best, non-reinstalling way to fix that?
-
Nix / NixOS @programming.dev mlflexer @lemm.ee NixOS containers vs. Docker containers
I’ve recently discovered nixos containers and was wondering if there where any pros/cons of running them vs. Docker containers. Like if one needs to run a containerised service, would it be better to run it as a nixos container or a docker container in terms of resource consumption? And are there any limitations of each approach?
-
Nix / NixOS @programming.dev 𝔗𝔢𝔯 𝔐𝔞𝔵𝔦𝔪𝔞 @jlai.lu Configuring Tor : how to add a config file to tor's store path ?
I am attempting to configure the Tor daemon on
nix-darwin
. There is unfortunately noservices.tor
on this platform (yet ! maybe I'll port it from nixOS once I know enough Nix to do that)I could manage it with homebrew, however, that seems like a sub-par solution, effectively moving
tor
entirely out of the nix store.I have installed the package in my flake, and I would like to link a
torrc
config file to the right directory/etc/tor
. However, when done withenvironment.etc
, the file is linked to the general/etc
outside of the store, wheretor
cannot find it.How can I link this file inside
tor
's own/etc
in the store, so it can use the configuration ? -
Nix / NixOS @programming.dev cm0002 @lemmy.world The NixOS Foundation Board Announced
nixos.org The NixOS Foundation Board Announced | Blog | Nix & NixOSNix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.
-
Nix / NixOS @programming.dev PartiallyApplied @lemmy.world Dynamic Derivations (IFD alternative?)
fzakaria.com An early look at Nix Dynamic DerivationsI normally like to write about concepts from first principles and wait for much of the dust to have settled on the implementation details, but let me take you on a small tour of an upcoming feature instead.
Really cool Nix idea which could improve incremental builds and replaces IFD (import from derivation) in some instances.
The article poses it as an alt to the lang2nix pattern, but some of functions look rather challenging to understand? Do you think this might allow nixpkgs upstream to support more languages / build systems performantly out of the box, abstracting away the complexity from Nix users?
-
Nix / NixOS @programming.dev Confetti Camouflage @pawb.social How do I go about reporting a regression from updating my flake.lock?
I'm on unstable and updated my flake.lock and 2 of my Steam games stopped working: Tiny Tina's Wonderlands and Elden Ring. Rolled back to my previous generation and they work again.
Is there a way to roll through nixpkgs commits to find the breaking commit? How do I gather the logs they will need and where should I report it to?
-
Nix / NixOS @programming.dev cujo @sh.itjust.works NixOS is weird... I love it
Hello, everyone! I'm a long time Linux user who has warily stared at NixOS from the safe distance one might give to wild animals on a safari for quite some time now... And I finally decided, "fuck it, I'm gonna poke it with a stick."
I absolutely adore this system, even as strange a paradigm as it is coming from a decade of "traditional" management systems. I haven't been this excited about a Linux distro since... Well, ever really. Maybe OpenSUSE Tumbleweed? I can't recall.
Anyway, I wanted to introduce myself and preach to the choir for a second, so to speak. As someone totally new to this paradigm of system management, what are your #1 must read/watch resources you would recommend? I've perused through the NixOS Learn website over the last couple of days, and I'm itching for more. I can't wait to see what all this system is capable of!
-
Nix / NixOS @programming.dev harryprayiv @infosec.pub nixbook: a barebones OS built from scratch for mass deployment
github.com GitHub - mkellyxp/nixbookContribute to mkellyxp/nixbook development by creating an account on GitHub.
cross-posted from: https://infosec.pub/post/24675194
I think I’ll use this for custom setups for non-techies.
-
Nix / NixOS @programming.dev matto @lemm.ee LibreWolf not showing store cookies option
Hi all! I'm new to NixOS and so far I'm loving it! I'm in the middle of the process of "nixifying" all my stuff, and I've found a problem that I've not been able to solve yet: When using LibreWolf on my Mac OS laptop, I can easily add exceptions to store cookies from the padlock icon in the search bar, as you can see in the screenshot, so I don't have to re-login to some sites every time I open my browser. The problem is that on my NixOS laptop there is not such an option. I have compared settings in both setups, and they both look the same. I even tried explicitly setting
pref.privacy.disable_button.cookie_exceptions
tofalse
, but no luck. The option is still not showing in the padlock menu. Here's my LibrefWolf config, in case you are curious.I know I can manually add exceptions in the settings page, but doing it directly from the search bar is way more convenient.
I searched all aro
-
Nix / NixOS @programming.dev gomp @lemmy.ml "lookup registry-1.docker.io: no such host" when starting an oci-container for the first time at boot
I'm rebuilding my home server in nixos.
Rather that configuring the various services natively in nixos, I decided to run containers via
virtualisation.oci-containers
whenever possible, mostly to be able to independently update the system and the various services.Everything is going smoothly, but whenever I (for whatever reason) do
nixos-rebuild boot
and reboot after adding a container instead ofnixos-rebuild switch
, I run into this issue where podman isn't able to resolve the host (below you see the docker hub host, but it also happened with ghcr.io):plaintext
podman-apprise-start[1352]: Trying to pull docker.io/caronc/apprise:1.1.8... podman-apprise-start[1352]: Pulling image //caronc/apprise:1.1.8 inside systemd: setting pull timeout to 5m0s podman-apprise-start[1352]: Error: initializing source docker://caronc/apprise:1.1.8: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host
-
Nix / NixOS @programming.dev rutrum @lm.paradisus.day Any nix RSS feeds?
Does anyone know of any blogs that center around, or frequently discuss nix? My only subscription in freshRSS is NixOS weekly...and thats long since been abondoned.
It'd be really nice if there was some kind of news or ecosystem summary, so I could know about the newest nix projects as well as official sources.