nixos

"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos trymeout Now 88%
Hoe do you self host a nix package repo & install nix packages from 3rd party repos?

Hoe do you self host a nix package repo & install nix packages from 3rd party repos? Is this even possible. Other package managers allow you to install packages from 3rd party repos such as Flatpaks, apt, F-Droid, Scoop, Winget. And is there any known 3rd party nix package repos?

7
6
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Tomorrow_Farewell Now 100%
Live environment lock screen can't login as `nixos` (Virtualbox VM, KDE Plasma)

Working in a Virtualbox VM using the standard KDE version of the `.iso`. I get locked out due to inactivity during a live environment session. Trying to enter the empty password doesn't help me. How do I deal with this graciously?

3
8
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos checksout Now 100%
Is there a site to see statistics about number of packages per architecture (x64, arm, riscv, etc)?
6
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 96%
NixOS 24.05 released
https://nixos.org/blog/announcements/2024/nixos-2405/
26
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos vfosnar Now 100%
Recently started working on a collection of nix-colors adapters, what do you think?

cross-posted from: https://beehaw.org/post/13758256 > You can change the color theme of your whole desktop with a single line of code. > > Currently supported adapters: > - Adwaita (GTK3, GTK4) > - Alacritty > - dunst > - Firefox (hijacking the default theme with userchrome.css) > - GTK2 > - Kvantum > - Rofi > - swaylock > - Wezterm > > repo: https://gitlab.com/vfosnar/nix-colors-adapters / https://github.com/vfosnar/nix-colors-adapters

8
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos nat_418 Now 100%
Self-hosting Matrix with an IRC bridge on NixOS
https://nat-418.xyz/posts/1ba7609d42e27999759eb4b9cd9810cb.html
16
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos totikom Now 90%
Installing Nix behind MITM-proxy
https://totikom.github.io/blog/nix-install/
8
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos uthredii Now 92%
Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!
discourse.nixos.org

cross-posted from: https://programming.dev/post/13537798 > Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!

23
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos mobergmann Now 81%
what will be my next server operating system (Fedora Server, Fedora CoreOS, NixOS), your experience and opinion

cross-posted from: https://lemmy.world/post/14160134 > I want to reset my server soon and I'm toying with the idea of using a different operating system. I am currently using Ubuntu Server LTS. However, I have been toying with the idea of using Fedora Server (I use Fedora on my laptop and made good experiences with it) or even Fedora CoreOS. I also recently installed NixOS on my desktop computer and find the declarativeness pretty cool (but I'm still a complete beginner) and could imagine that it would fit well into a server setup. > > I have quite a few services running on my server, such as Nextcloud, Conduit (Matrix), Jellyfin, etc. and all in containers. I would also rather not install programs without containers, because 1. compose is super easy to maintain and set up, 2. it remains very clear with containers (and compose) and 3. I believe that containers are more secure. But since I also want to make the services inside the containers available, I currently have Nginx installed as a reverse proxy (not in the container, but on the system) and always create certificates with certbot so that I can use HTTPS encryption. > > In the paragraph above I actually described exactly the use-case of Fedora CoreOS, but I have no experience with the system and how it works. That's why I'm still a bit hesitant at considering the OS at the moment. > I can imagine that NixOS with its declarative nature seems well suited, since, as I have heard, you can configure containers as well as Nginx and with Nginx also https certificates declaratively. > But I could also use a base system like before (Fedora Server or Ubuntu Server) and simply install podman, nginx and certbot and manage everything that way. > > Have you had any experience with Fedora Server, Fedora CoreOS, NixOS or a completely different operating system for servers and what are/were your impressions with this setup? Or do you just want to share your knowledge here? I would be delighted.

7
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos starman Now 76%
Top 6 Best NixOS Tips & Tricks - Vimjoyer
youtube.com
7
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos hallettj Now 100%
[HowTo] gnome-keyring as ssh agent in lightweight window manager

cross-posted from: https://leminal.space/post/4750886 > It took me some time to work out how to get my ssh agent set up in [Niri](https://github.com/YaLTeR/niri) so I though I would share what I did. I'm using NixOS and Home Manager. I put this in my Home Manager config: > > ```nix > services.gnome-keyring = { > enable = true; > components = [ "pkcs11" "secrets" "ssh" ]; > }; > home.sessionVariables.SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/keyring/ssh"; > ``` > > I'm using GDM according to NixOS' default configuration which I think runs gnome-keyring (I thought I saw it in the process list before I set up the user unit), and I think that configuration is automatically unlocking gnome-keyring when I log in via PAM integration. But apparently I need to run gnome-keyring again in my window manager session. Home Manager's `services.gnome-keyring` adds a systemd user unit that does that.

8
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos LGUG2Z Now 100%
Selectively Using Service Modules from NixOS Unstable
lgug2z.com

cross-posted from: https://lemmy.world/post/13113247 > After learning how to add an unstable overlay to nixpkgs, being able to override individual service modules from unstable was something that I still struggled with until fairly recently. Hopefully this helps someone else looking to do common-but-not-very-obvious operation.

19
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos jaagruk Now 83%
Help regarding setting up Fonts

Hi, I am a beginner on NixOS and I am confused how to setup fonts on it. I have home-manager working properly and nerd-fonts installed. Now how to setup System,GTK,emoji and Indic fonts. Any article or part of config please.

4
1
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos hallettj Now 90%
Nix, NPM, and Dependabot
https://sitr.us/2024/03/08/nix-npm-and-dependabot.html
8
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos gunpachi Now 90%
How do I add a udev rule in NixOS to set my AMD GPU's performance level to 'high' ?

So I have been experiencing screen blackout when I use any refresh rate above 60Hz. On Arch I was able to solve this by setting a udev rule as mentioned in [this ArchWiki article](https://wiki.archlinux.org/title/AMDGPU#Screen_artifacts_and_frequency_problem) but it seems like I can't do the same in NixOS using the traditional way. Is there anything I need to add in the configuration.nix file to achieve the same ?

8
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 90%
RFC 0166 has been merged
github.com
17
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos tuckerm Now 100%
Is there an easy way of starting up services with just the nix package manager and not using NixOS?

Hi, sorry if that title isn't very clear. I just started learning about nix a couple days ago; I'll explain what I mean. I'm trying to set up a web application that I'm currently hosting with Docker containers, but do it with nix instead, like what's shown in this blog post: [https://carjorvaz.com/posts/the-holy-grail-nextcloud-setup-made-easy-by-nixos/](https://carjorvaz.com/posts/the-holy-grail-nextcloud-setup-made-easy-by-nixos/) However, I don't have NixOS on my server. I'm using Debian, with the nix package manager installed. Is it possible to use a nix config file, like the one below, when only using the nix package manager? Currently it errors when I try to call `nix-build` with it, giving an error about calling a lambda function that never called `self`. If I remove the `self` argument, it complains about `config`, and so on. ``` { self, config, lib, pkgs, ... }: { services = { nextcloud = { enable = true; hostName = "cloud.example.com"; package = pkgs.nextcloud27; # Let NixOS install and configure the database automatically. database.createLocally = true; # Let NixOS install and configure Redis caching automatically. configureRedis = true; < other settings here... > }; }; } ``` From what I've read, the `services` part of that creates systemd services, which makes me think that it only works if you're on a full NixOS system and not only using the nix package manager. But it's been difficult to find a clear answer on that, probably because I'm still learning what terms to search for.

16
14
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 80%
Nixpkgs merge bot testing and plan
discourse.nixos.org
9
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos GnomeComedy Now 100%
PXE Template?

Does NixOS have a way to PXE many machines via a kickstart or preseed equivalent? I'm curious to experiment with it in the context of a University environment and we use either Cobbler or Foreman for host provisioning. Also curious what the best practice is for config management. I only know enough to know there's a nix config file that declares everything. Does this completely supplant puppet/salt/ansible, or do you use them together? Thanks for any tips!

7
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 100%
Upcoming Garbage Collection for cache.nixos.org
discourse.nixos.org
17
1
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos callyral Now 90%
Has anyone managed to get Krita G'MIC working with Nix?

Recently, I switched to NixOS and realised that there is no G'MIC plugin package for Krita. There's [this issue](https://github.com/NixOS/nixpkgs/issues/163645) that was last active in October 2023. I was wondering if anyone has managed to install this without using another package manager (such as Flatpak) or installing an AppImage manually, for system reproducibility, and I also don't wanna have two package managers in one system. Ideally, there'd be a wrapper, so you could do something like: ```nix { pkgs, ... }: { programs.krita = { enable = true; gmic.enable = true; gmic.package = pkgs.krita.gmic-qt; }; } ``` Thoughts? Related: is there some kind of guide on these `program.<name>` wrappers? What are they and where are they defined?

8
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos h3ndrik Now 100%
Looking for good resources for a selfhosted home-server, especially the more advanced stuff

So, I got into NixOS and installed it on a VPS a few days ago. I've previously used yunohost.org (a debian based all-in-one selfhosting solution) and docker-compose. But I (now) really like the Nix(OS) approach, the amount of packaged software and how everything ties together in a clean server configuration. However... I need a bit more information on the server stuff. Are there nice configurations around which I can incorporate and learn from? Extensive tutorials from other people who run their own services or communities? I mean the basic stuff isn't a problem. I got Nextcloud and the most important stuff running, a DNS Adblocker, a chat server, nginx etc. But ultimately I'd like to share some services with friends and family. So I need single sign-on (SSO), preferably with an LDAP directory. An email server... And the Wiki and just googling it stop being helpful at this point. Are there people who share their experience with LDAP/Authentik/Zitadel/Authelia/Keycloak / whatever SSO/Authentication software is packaged in Nix but I can't find anything about from people who actually use it? A comparison of the several available email servers?

15
11
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos 0xCAFE Now 58%
How to enable system theme for Firefox?

I'm a semi-recent NixOS user and one thing that bothers me since the beginning is that when I change the Gnome theme (between light and dark), Firefox doesn't adapt. The system theme in Firefox is enabled, but it always displays the light theme, no matter what theme is selected in Gnome. Internet search, including searching through NixOS discourse, packages, options and Nixpkgs repo surfaced a solution. Any ideas or tips how to achieve system theme integration for Firefox on NixOS? NixOS 23.11 / Gnome 45 / sway

2
6
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos itsaj26744 Now 91%
Any guide on building from source

Any bried guide on building from source. I want build friclicli as not in nix repo. Tried to search on internet but didn't got anything. (New to nixOS)

10
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 88%
Flakes aren't real and cannot hurt you: a guide to using Nix flakes the non-flake way
jade.fyi
14
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 90%
NixOS 23.11 released
nixos.org
16
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos ruination Now 100%
What's the recommended way to set up Doom Emacs in NixOS?

I've seen people use nix-doom-emacs, have it set up standalone, and some have fancy Nix code that's way beyond my understanding for now to set it up. Which one is the recommended way to set it up? Also, how do you get completions in nix-mode?

18
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos ins Now 92%
long-term Nix and NixOS users, why do you still use Nix/NixOS? Has your interest about it diminish?

I've been using Nix and NixOS for 4 years now. While I like using it for my PCs and tried using it for servers with success, I think its ecosystem still is immature for development and production purposes, and thus my passion for Nix has faded. So my question is what keeps you using Nix or NixOS? How have you been using it? Do you still feel passion and hype for it?

12
10
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos jouzu Now 100%
[Working again in unstable branch] jupyter notebook fails when rebuilding

Yesterday I tried to update my nix flake but the rebuild-switch failed when it came time to install the following python3 derivation with some extra python packages: ```(python3.withPackages(ps: with ps; [ numpy scipy matplotlib pandas notebook ]))``` The problematic package is "notebook" and building fails with the following error: ``` error: builder for '/nix/store/crxnqidkwkgxm9s7ahkhvilx1cisrki6-python3.10-jupyter-server-2.0.6.drv' failed with exit code 1; last 10 log lines: > pyfuncitem.obj(**testargs) > File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 105, in test_base_url > launch_instance(["--ServerApp.base_url=/foo"]) > File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 83, in _run_in_subprocess > wait_up(url, check=lambda: process.poll() is None) > File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 40, in wait_up > time.sleep(interval) > > Timeout > /nix/store/gv2cl6qvvslz5h15vqd89f1rpvrdg5yc-stdenv-linux/setup: line 1604: pop_var_context: head of shell_variables not a function context ``` The very same python derivation worked like 2 weeks ago but now suddenly doesn't work anymore. I'm quite lost trying to troubleshoot this problem so any help is greatly appreciated. EDIT: So far I've tried the "jupyter" package instead of the "notebook" package, installed it through the unstable channel and tried to install "jupyterlab" as an alternative, but to no avail.

1
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Merulox Now 100%
Did the new dolphin update break icons for anyone else?

after updating to the new version of Dolphin, I noticed the icons don't show up in the "Icons" layout.

3
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos Atemu Now 92%
Speeding up NixOS package search on the terminal
https://www.foodogsquared.one/posts/2023-11-10-speeding-up-nixos-package-search-on-the-terminal/
11
1
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos pr06lefs Now 100%
run a rust 'blinky' program on the raspberry pi pico (nixos)
https://www.zknotes.com/page/embassy-nixos-rpi-pico
6
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos nyanbinary Now 91%
COSMIC now has a room in Nix Matrix Space!
https://matrix.to/#/#cosmic:nixos.org

If anyone wants to help package COSMIC in nixpkgs (and for NixOS) join the Matrix room :3

10
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos nobloat Now 100%
Nix packages on a non-nix distro : what to do when a package isn't working properly ?

I hope this is the right place to ask. I am new to Nix and trying to use it for now as a universal package manager. I installled Stremio using Nix but the app doesn't work properly. I see that it's several versions out of date. The same app works fine using Flatpak. Is there a way to let the maintainer know? I'd also love some documentation that can help me update it myself. I can just use the Flatpak but I just want to have one less package manager to worry about.

5
9
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos hallettj Now 100%
How do you find non-top-level packages in nixpkgs?

This is something that I struggle with. I know how to find top-level packages like `git` or `cowsay`. But what about utilities under nested paths? I always spend ages digging through the nixpkgs source code to try to find utilities to use in my nix expressions. Today I want to use `buildRustPackage`. It's defined [here](https://github.com/NixOS/nixpkgs/blob/58d98b0742b7818bf3f31179e10707f220a993a2/pkgs/build-support/rust/build-rust-package/default.nix), and is propagated [here](https://github.com/NixOS/nixpkgs/blob/35d87899f7c8f6fad50447301465d51b5dd87753/pkgs/development/compilers/rust/make-rust-platform.nix#L21). But how do I access it given a `pkgs` variable? I have no idea! https://search.nixos.org/packages is no help `nix search nixpkgs` doesn't find it I think I need to search by attribute name, not by derivation name. But I don't know how to do that.

2
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos hallettj Now 100%
[How To] check Home Manager dconf settings

It took me a while to figure this out. I use Home Manager to manage my Gnome settings by setting `dconf.settings = { ... }`. My settings are non-trivial (for example [my paperwm module](https://github.com/hallettj/home.nix/blob/854ed345380415895c94a714ce1c643440960b49/modules/home-manager/paperwm.nix)). So it's helpful for me to check the actual dconf settings that Home Manager produces. To do that build your configuration with `home-manager build`, open `result/activate`, and find a line that looks like this: ```bash $DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION /nix/store/4ab7dx08wx640444m71axlqvbrvz73bv-dconf-0.40.0/bin/dconf load / &lt; /nix/store/0hdnvwx8d9sifd6ib8n2hhblyblq0ccp-hm-dconf.ini ``` The store path for `hm-dconf.ini` has the settings. **Edit:** added a line break to the script line so you can see the relevant store path

3
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos drre Now 100%
shared library paths

I'm developing a small library which intercepts some library calls from a program installed via home-manager. My library works fine outside of nix, but it fails when trying to intercept calls from a program installed via home-manager. I figured that it is related to hardcoded library paths in my interceptor library. lld shows ``` linux-vdso.so.1 (0x00007fff7a341000) libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007fb2f3b72000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb2f391c000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb2f38f8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb2f3716000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb2f3637000) /lib64/ld-linux-x86-64.so.2 (0x00007fb2f3cac000) ``` What is the preferred approach here? - Changing the paths in my binary doesnt seem very portable? - Setting LD_LIBRARY_PATH seems also a hassle - Are there linker settings which could help - Or, should I "just" (no idea, how to do this) create a derivation for my program and install it via home-manager, too? Any pointers are greatly appreciated. Cheers!

4
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos nyl Now 100%
What do you dislike about Nix/NixOS?

Could be areas of improvement as well

17
38
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos canute Now 94%
Tried NixOS !

Tried NixOS ! So I tried nixos and I love how things work, I am glad that it exists. Will learn about Flakes today. Any recommended resource to learn it? :) [@nixos@lemmy.ml](https://lemmy.ml/c/nixos)

15
11
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNI
nixos gomp Now 100%
How can I reference the `escapeSystemdPath` function (from nixpkgs' `nixos/lib/utils.nix`) in my config?

I want to call the `escapeSystemdPath` (defined in nixpgs at `nixos/lib/utils.nix`) to derive the name of a systemd mount unit from the target path (eg. `srv-my-dir.mount` from `/srv/my/dir`), but I can't figure out how I can reference it... any ideas?

1
3