Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)NI

All about NixOS - https://nixos.org/

Members
1,397
Posts
112
Active Today
1
Created
5 yr. ago
  • nixos @lemmy.ml
    Steamymoomilk @sh.itjust.works

    Help with iptables, using nixos setting up a wiregaurd server for friends

    cross-posted from: https://sh.itjust.works/post/32918427

    Hello,

    Recently, I've been interested in self-hosting various services after coming across Futo's "How to Self Host Your Life Guide" on their Wiki. They recommend using OpenVPN, but I opted for WireGuard instead as I wanted to learn more about it. After investing many hours into setting up my WireGuard configuration in my Nix config, I planned to replace Tailscale with WireGuard and make the setup declarative.

    For context, this computer is located at my residence, and I want to be able to VPN into my home network and access my services. Initially, it was quite straightforward; I forwarded a UDP port on my router to my computer, which responded correctly when using the correct WireGuard keys and established a VPN connection. Everywhere online suggests forwarding only UDP as WireGuard doesn't respond unless the correct key is used.

    The Networking Complexity

    At first, this setup would be

  • nixos @lemmy.ml
    hungrybread [comrade/them] @hexbear.net

    Installing 32 bit packages (wineasio)

    Does anyone have advice on installing 32bit packages on 64bit systems?

    I have tried several times to setup Rocksmith 2014 with wineasio using this guide (and a couple of others, but this seemed like the best one), but it seems to be a little out-of-date. After rebuilding my system wineasio is installed, but only the 64 bit version of the library is installed (the 32 and 64 bit windows dlls are both present, but I assume that those are just copied over for either version of the wineasio package). The script linked in this section fails to find i386-unix/wineasio32.dll.so , and I have not been able to locate it or figure out a way to install it.

    I've particularly focused on this section of my nix config:

     undefined
        
     programs.steam = {
        enable = true;
        package = pkgs.steam.overri
      
  • nixos @lemmy.ml
    Loucypher @lemmy.ml

    NixOS resuscitated a 2012 Macbook Air. This thing flies! I was NOT expecting that at all

    As per title, I am mind-blown by the speed and stability of NixOS on this "relic" in IT terms... On this machine i tested:

    Distro Performance
    Fedora MEGA slow
    Ubuntu OKish
    LDME Fast
    Debian Fast
    NixOS VERY Fast

    And the best thing is that I can bring this config with me on any computer! Oh boy, I think i have fallen in love with NixOS

  • nixos @lemmy.ml
    TROJANHEX [he/him] @hexbear.net

    allow unfree will not work

    I have tried to allow unfree packages to install steam and discord but nothing worked here are some of the things I have tried; 1. { allowUnfree = true; allowUnfreePredicate = pkg: true; }

    1. { nixpkgs.config.allowUnfree = true; }
    2. ( config, pkgs, allow unfree=true)

    Every time I tried to rebuild something would go wrong so I tried temporary stuff like NIXPKGS_ALLOW_UNFREE=1 nix-shell And --impure But nothing worked

    What should I do???

  • nixos @lemmy.ml
    Atemu @lemmy.ml

    NixOS 24.11 released

  • nixos @lemmy.ml
    dadarobot @lemmy.sdf.org

    Python not built for tkinter?

    I have a program that I wrote, maybe I didn't package it appropriately, but I cannot got it to run. I wrote it on a manjaro install, and tested it on another manjaro install, both were fine. I packaged it with poetry and copied the wheel over.

    Today I tried to install it on my nixos surface tablet I use at work. I get this error on installation:

     undefined
        
    Traceback (most recent call last):                                            File "/home/gzuh/.local/bin/willcallgui", line 5, in <module>
        from willcallgui import willcallgui
      File "/home/gzuh/.local/share/pipx/venvs/willcallgui/lib/python3.11/site-packages/willcallgui/willcallgui.py", line 12, in <module>
        import tkinter as tk
      File "/nix/store/h723hb9m43lybmvfxkk6n7j4v664qy7b-python3-3.11.9/lib/python3.11/tkinter/__init__.py", line 38, in <module>
        import _tkinter # If this fails your Python may not be configured for Tk
        ^^^^^^^^^^^^^^^
    ModuleNotFoundError: No module named '_tkinter'
    
    
      

    These are the packages i have in

  • nixos @lemmy.ml
    Alper Çelik @lemmy.world

    Self Hosting Vaultwarden and Setting up SSL Certificates under Tailscale in Nixos

  • nixos @lemmy.ml
    trymeout @lemmy.world

    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?

  • nixos @lemmy.ml
    Tomorrow_Farewell [any, they/them] @hexbear.net

    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?

  • nixos @lemmy.ml
    checksout @thelemmy.club

    Is there a site to see statistics about number of packages per architecture (x64, arm, riscv, etc)?

  • nixos @lemmy.ml
    Atemu @lemmy.ml

    NixOS 24.05 released

  • nixos @lemmy.ml
    Vojtěch Fošnár @beehaw.org

    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

  • nixos @lemmy.ml
    nat-418 @lemmy.ml

    Self-hosting Matrix with an IRC bridge on NixOS

  • nixos @lemmy.ml
    totikom @lemmy.ml

    Installing Nix behind MITM-proxy

  • nixos @lemmy.ml
    uthredii @programming.dev

    cross-posted from: https://programming.dev/post/13537798

    Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!

  • nixos @lemmy.ml
    Moritz @lemmy.world

    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 installe

  • nixos @lemmy.ml
    starman @programming.dev

    Top 6 Best NixOS Tips & Tricks - Vimjoyer

  • nixos @lemmy.ml
    hallettj @leminal.space

    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 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.

  • nixos @lemmy.ml
    Jeezy @lemmy.world
    lgug2z.com Selectively Using Service Modules from NixOS Unstable

    A few weeks ago I ran nix flake update to get the latest versions of CLI tools that I regularly use from nixos-unstable. atuin is one of those tools which I started using relatively recently and quickly became a huge fan of. I run it on all of my machines, and I can’t overstate how amazing it is to ...

    Selectively Using Service Modules from NixOS Unstable

    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.

  • nixos @lemmy.ml
    jaagruk @mander.xyz

    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.