social.dk-libre.fr is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #nix

AodeRelay boosted

[?]Dan ⁂ [he/ him] » 🌐
@FRYTG@beoriginal.social

i’m very confident in my (os) skills on the server (running three servers on it). however, never really used it on the mac. recently been thinking whether it would be worth migrating my homebrew file from my dotfiles repo over to some nix config. anyone using it that way or has links/ opinions?

    Fred de CLX boosted

    [?]Home Manager News » 🤖 🌐
    @hmnews@techhub.social

    A new module is available: 'programs.herdr'. Herdr is a terminal workspace and agent manager. The new module lets you install it and declaratively configure its TOML config file.

      [?]Lobsters » 🤖 🌐
      @lobsters@mastodon.social

      [?]Klaus Frank » 🌐
      @agowa338@chaos.social

      Oh great, nixos-rebuild tried to be smart again. You apparently need to keep a dirty worktree of the root git project or it'll clone all of the submodules from github (once you found the changelog where it tells you how to enable submodule support).

      Why can't you just be normal?

      I used relative paths for a reason. I didn't want you to download it from github each time. The local repo is the authoritative one...

      Edit: or deleting the remote from the git repo, that also worked

        [?]nico » 🌐
        @n@gotosocial.tourmentine.com

        Fred de CLX boosted

        [?]Home Manager News » 🤖 🌐
        @hmnews@techhub.social

        A new module is available: `programs.hyprland-qt-support`. This module enables Hyprland Qt support — a Qt6 QML style provider for hypr* apps. It can be configured through the `settings` attribute.

          [?]Gabriel :golang: :nixos: » 🌐
          @Crocmagnon@fosstodon.org

          Fred de CLX boosted

          [?]Home Manager News » 🤖 🌐
          @hmnews@techhub.social

          The `programs.firefox.globalExtensions`, `programs.floorp.globalExtensions`, and `programs.librewolf.globalExtensions` options now assert that the browser package is managed by Home Manager. On Darwin, setting `programs.<browser>.darwinDefaultsId` also satisfies this requirement. If you used `globalExtensions` with `package = null`, set `package` to a non-null browser package or switch back to `profiles.<name>.extensions.packages`.

            [?]kfekete » 🌐
            @kfekete@hachyderm.io

            I have a PoC patch to fix this, if you are on or , you can likely just use this flake: github.com/krisztianfekete/cli

              [?]Klaus Frank » 🌐
              @agowa338@chaos.social

              What's the general opinion of the community on hardening systemd services? Aka. adding isolation and restriction properties?

              Is there a reason it is currently not that commonly done? Would PRs in that regard be appreciated or would it just be dismissed?

                Fred de CLX boosted

                [?]Home Manager News » 🤖 🌐
                @hmnews@techhub.social

                The 'programs.uv' module can now manage uv-installed Python versions and tools declaratively. Use {option}`programs.uv.python.versions` to install Python versions (with {option}`programs.uv.python.default` selecting the default interpreter per implementation) and {option}`programs.uv.tool.packages` to install tools. Unpinned entries track the latest release on each activation, while pinned ones (e.g. `"3.12.4"` or `"black==24.1.0"`) stay put. Set {option}`programs.uv.python.prune` or {option}`programs.uv.tool.prune` to make the managed set fully declarative, removing versions and tools that are no longer listed.

                  Fred de CLX boosted

                  [?]Home Manager News » 🤖 🌐
                  @hmnews@techhub.social

                  The `programs.codex.plugins` and `programs.codex.marketplaces` options were added to configure Codex plugins and local plugin marketplaces declaratively.

                    [?]Krutonium:// » 🌐
                    @krutonium@social.treehouse.systems

                    Nix Tip:

                            registry.unstable.to = {
                    type = "github";
                    owner = "NixOS";
                    repo = "nixpkgs";
                    ref = "nixos-unstable";
                    };
                    registry.master.to = {
                    type = "github";
                    owner = "NixOS";
                    repo = "nixpkgs";
                    ref = "master";
                    };

                    Works, but if you already have them pulled into your flake

                            registry = {
                    unstable.flake = inputs.nixpkgs-unstable;
                    master.flake = inputs.nixpkgs-master;
                    };

                    Is both faster for you, and nicer for github.

                      [?]Yann Büchau :nixos: » 🌐
                      @nobodyinperson@fosstodon.org

                      @xcabal05 I'm in the first batch and haven't gotten mine yet. I'm a fulltime user since its beginnings though and I am happy thus far. It's a real Linux in the pocket, terminal, ssh, , etc. which is what matters to me. The Android apps I need work fine. But expect annoyances here and there. I really hope the new phone fixes annoyances I have with my Sony Xperia 10iii now. Most notably the camera sometimes not saving photos or videos and network switching wrecking connectivity.

                        [?]Paco Velobs » 🌐
                        @PacoVelobs@mamot.fr

                        So, I gave a try.

                        I'm used to work with but I have to admin the devenv.nix file is less cluttered which lead to a better UX. But this comes at the cost of an extra devenv.yaml file. Why not, not a fan, but it works.

                        But, while configs are composable locally, they can't import a remote config as does.

                        Also, `devenv shell` breaks my / setup where my works like a charm.
                        So, yeah, I'll keep my for now.
                        At work and at home.

                        CC @Ilygad

                          AodeRelay boosted

                          [?]GNU/Linux.ch » 🌐
                          @gnulinux@social.anoxinon.de

                          NixOS - Das Multi-Host-Setup individualisieren

                          In meinem letzten Beitrag der NixOS-Reihe zeige ich, wie man einen einzelnen Rechner aus dem gemeinsamen Setup herauslöst und individuell konfiguriert – ohne die anderen Rechner auch nur zu berühren.

                          gnulinux.ch/nixos-das-multi-ho

                            Fred de CLX boosted

                            [?]Home Manager News » 🤖 🌐
                            @hmnews@techhub.social

                            A new module is available: `programs.pi-coding-agent`. The module supports declarative configuration of Pi Coding Agent including settings, keybindings, models, and global context (AGENTS.md). For MCP server support, use the existing `programs.mcp` module which writes to `~/.config/mcp/mcp.json`.

                              Fred de CLX boosted

                              [?]Home Manager News » 🤖 🌐
                              @hmnews@techhub.social

                              The `programs.gemini-cli` module has been renamed to `programs.antigravity-cli`. Existing `programs.gemini-cli` configurations are migrated automatically and emit rename warnings. The Antigravity CLI module writes settings and permissions to `~/.gemini/antigravity-cli`, MCP server configuration to `~/.gemini/config/mcp_config.json`, and skills to `~/.gemini/config/skills`.

                                AodeRelay boosted

                                [?]GNU/Linux.ch » 🌐
                                @gnulinux@social.anoxinon.de

                                NixOS - Major-Upgrade, Pakete aus 'unstable' einbinden und "Wegwerf-Pakete"

                                Ein Major-Update steht an. Zudem binden wir Programme aus dem Rolling-Release-Zweig ein – und nutzen Software, ohne sie überhaupt zu installieren.

                                gnulinux.ch/nixos-major-upgrad

                                  AodeRelay boosted

                                  [?]GNU/Linux.ch » 🌐
                                  @gnulinux@social.anoxinon.de

                                  NixOS - Multi-User-Setup einrichten

                                  Weitere Benutzer werden anlegt – am Beispiel eines Gastnutzers und einer neuen regulären Benutzerin. Nebeneffekt des heutigen Setups: Heute wird nochmal ganz klar, welche "Nixe" für was zuständig ist.

                                  gnulinux.ch/nixos-pakete-aus-u

                                    [?]Klaus Frank » 🌐
                                    @agowa338@chaos.social

                                    @nobodyinperson

                                    Ok, but this probably is really the best I can do to simplify it.

                                    But I'm not sure if it is a good idea to use something called "legacyPackages".

                                    (Also just a disclaimer I don't really fully understand what I'm doing here. But it works, so...)

                                    {
  description = "Nix dev environment";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
  };

  outputs = { nixpkgs, ... }: {
    devShells = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (
      system: {
        default = nixpkgs.legacyPackages.${system}.mkShell {
          nativeBuildInputs = with nixpkgs.legacyPackages.${system}; [
            git
            git-lfs
            yq
            jq
            python313
            python313Packages.pip
            python313Packages.setuptools
            python313Packages.wheel
            python313Packages.cython
            python313Packages.ansible-core
            python313Packages.pyyaml
            python313Packages.jinja2
            python313Packages.pyopenssl
            python313Packages.requests
            python313Packages.libselinux
            python313Packages.netaddr
          ];
        };
      }
    );
  };
}

                                    Alt...{ description = "Nix dev environment"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; }; outputs = { nixpkgs, ... }: { devShells = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( system: { default = nixpkgs.legacyPackages.${system}.mkShell { nativeBuildInputs = with nixpkgs.legacyPackages.${system}; [ git git-lfs yq jq python313 python313Packages.pip python313Packages.setuptools python313Packages.wheel python313Packages.cython python313Packages.ansible-core python313Packages.pyyaml python313Packages.jinja2 python313Packages.pyopenssl python313Packages.requests python313Packages.libselinux python313Packages.netaddr ]; }; } ); }; }

                                      [?]Klaus Frank » 🌐
                                      @agowa338@chaos.social

                                      Just learned that you can use to build containers. To be fair the format appears to be a bit unintuitive at first sight, but I guess I'll give it a try soon anyway.

                                      # docker.nix
{ pkgs ? import <nixpkgs> {} }:

pkgs.dockerTools.buildImage {
  name = "my-dev-env";
  tag = "latest";

  copyToRoot = pkgs.buildEnv {
    name = "image-root";
    paths = [
      pkgs.python311
      pkgs.git
      pkgs.nodejs
      pkgs.bashInteractive
    ];
  };

  config = {
    Cmd = [ "${pkgs.bashInteractive}/bin/bash" ];
    Env = [
      "MY_VAR=hello"
    ];
  };
}

                                      Alt...# docker.nix { pkgs ? import <nixpkgs> {} }: pkgs.dockerTools.buildImage { name = "my-dev-env"; tag = "latest"; copyToRoot = pkgs.buildEnv { name = "image-root"; paths = [ pkgs.python311 pkgs.git pkgs.nodejs pkgs.bashInteractive ]; }; config = { Cmd = [ "${pkgs.bashInteractive}/bin/bash" ]; Env = [ "MY_VAR=hello" ]; }; }

                                        [?]Klaus Frank » 🌐
                                        @agowa338@chaos.social

                                        But sadly none of this helps me understand what the c'n'p-crimes I've committed here a few months ago and what that first github repo it references is or why it is needed :D

                                        (note, this is a shell.nix though)

                                        {
  description = "Nix dev environment";

  inputs = {
    flake-utils.url = "github:numtide/flake-utils";

    nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
  };

  outputs = inputs@{
    self,
    ... # Populate the inputs variable with all of its members
  }:
    inputs.flake-utils.lib.eachDefaultSystem (system: let
      pkgs = import inputs.nixpkgs {
        inherit system;
        config.allowUnfree = true;
      };
    in {
      devShell = pkgs.mkShell {
#        packages = [
#          pkgs.python3
#        ];
        nativeBuildInputs = with pkgs; [
          git
          git-lfs
          yq
          jq
          python313
          python313Packages.pip
          python313Packages.setuptools
          python313Packages.wheel
          python313Packages.cython
          python313Packages.ansible-core
          # python313Packages.ansible-lint
          python313Packages.pyyaml
          python313Packages.jinja2
          python313Packages.pyopenssl
          python313Packages.requests
          python313Packages.libselinux # pip package is just called "selinux"
          python313Packages.netaddr
        ];
      };
    });
}

                                        Alt...{ description = "Nix dev environment"; inputs = { flake-utils.url = "github:numtide/flake-utils"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; }; outputs = inputs@{ self, ... # Populate the inputs variable with all of its members }: inputs.flake-utils.lib.eachDefaultSystem (system: let pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; }; in { devShell = pkgs.mkShell { # packages = [ # pkgs.python3 # ]; nativeBuildInputs = with pkgs; [ git git-lfs yq jq python313 python313Packages.pip python313Packages.setuptools python313Packages.wheel python313Packages.cython python313Packages.ansible-core # python313Packages.ansible-lint python313Packages.pyyaml python313Packages.jinja2 python313Packages.pyopenssl python313Packages.requests python313Packages.libselinux # pip package is just called "selinux" python313Packages.netaddr ]; }; }); }

                                          [?]Jeremy ⁂ » 🌐
                                          @jeremy@mapstodon.space

                                          Ivre, il lança `nix flake update` sur le wifi du camping.

                                            AodeRelay boosted

                                            [?]GNU/Linux.ch » 🌐
                                            @gnulinux@social.anoxinon.de

                                            NixOS - Codeberg-Kommunikation optimieren und Troubleshooting

                                            In diesem Teil optimieren wir die Kommunikation mit Codeberg, so dass keine Passwörter mehr eingegeben werden müssen. Git- und Codeberg-Troubleshooting inklusive.

                                            gnulinux.ch/nixos-multi-user-s

                                              [?]Dee 🔜 EMF [she/her] » 🌐
                                              @dee@social.treehouse.systems

                                              New work laptop acquired, a Thinkpad T14 with AMD CPU and 64GB RAM.

                                              Installed with Gnome and it's working fine.

                                              Only glitch so far is that the NFC hardware causes a core to spin at 100% with a little IRQ storm, but I don't need that so I just BIOS disabled it and it's all good now.

                                              Configuration based Nix seems easy enough to install everything I wanted... Except...

                                              I need to get two things running to be compliant with corp policies and both lack packages.

                                              The first is Kolide, but it looks like there's a nix flake for that... So I'll need to use flakes even though I wasn't intending to.

                                              The second is fleetdm and I need fleetd, for which there's no package, but fleetctl is packaged and can build fleetd, so I guess that's the route... But it immediately means part of the system won't be managed by nix and I don't know if I like that... I guess it's doable, just dirty.

                                              Overall though... This laptop is nice, the newer gnome is nice, nixos is nice.

                                                AodeRelay boosted

                                                [?]GNU/Linux.ch » 🌐
                                                @gnulinux@social.anoxinon.de

                                                NixOS - Setup-Guide, Teil 3

                                                Im abschließenden Teil zeige ich, wie man in nur je 30 Minuten weitere eigene Rechner mit der vorhandenen NixOS Konfiguration von Null an aufsetzt und mit Codeberg synchron hält.

                                                gnulinux.ch/nixos-setup-guide-

                                                  [?]Peritia System [they/them] » 🌐
                                                  @peritia@alovely.space

                                                  I hate NixOS but I love NixOS.
                                                  So i wrote a Blogpost to explain.

                                                  And no it is not just "i can never leave NixOS"
                                                  it is actual critique and i am probably gonna leave NixOS

                                                  Here is the Blogpost why that is

                                                  Though it is super long with an expected reading time of almost 20min if you go purely by WPM

                                                  I hope you like it and it is understanable. I appreciate all thoughts!

                                                  If you like that one: check out my website in general i bet you will find more things you like :3

                                                    AodeRelay boosted

                                                    [?]GNU/Linux.ch » 🌐
                                                    @gnulinux@social.anoxinon.de

                                                    NixOS - Setup-Guide, Teil 2

                                                    In diesem Teil geht es darum wie Starkoch NixOS wirklich zum Sternekoch wird. Wie man die Integration anderer Köche vorbereitet und wie die Speisekarte gesichert wird.

                                                    gnulinux.ch/nixos-setup-guide-

                                                      AodeRelay boosted

                                                      [?]Yann Büchau :nixos: » 🌐
                                                      @nobodyinperson@fosstodon.org

                                                      😑 seriously?

                                                      GitHub screenshot, NixOS/nix repo, showing "A user you've blocked has previously contributed to this repository", namely Claude

                                                      Alt...GitHub screenshot, NixOS/nix repo, showing "A user you've blocked has previously contributed to this repository", namely Claude

                                                        [?]Yann Büchau :nixos: » 🌐
                                                        @nobodyinperson@fosstodon.org

                                                        Would be really great if

                                                        > nix run codeberg:user/repo

                                                        was possible. It works for and already. should also work. Instead, one needs to write this unergonomic thing:

                                                        > nix run git+ssh://git@codeberg.org/<user>/<repo>

                                                        EDIT: You could upvote this feature request: github.com/NixOS/nix/issues/14

                                                          [?]Lobsters » 🤖 🌐
                                                          @lobsters@mastodon.social

                                                          Eldeberen boosted

                                                          [?]Krutonium:// » 🌐
                                                          @krutonium@social.treehouse.systems

                                                          Arch Logo looking at Nix

Look at me says the Nix
I am the btw now.

                                                          Alt...Arch Logo looking at Nix Look at me says the Nix I am the btw now.

                                                            Fred de CLX boosted

                                                            [?]Home Manager News » 🤖 🌐
                                                            @hmnews@techhub.social

                                                            A new `home.services` namespace has been added for nixpkgs modular services. Service modules shipped with packages (i.e. `pkgs.<name>.passthru.services.default`) drop in unchanged and are lifted to user systemd units. See the "Modular Services" chapter in the manual for details.

                                                              AodeRelay boosted

                                                              [?]Larvitz :fedora: » 🌐
                                                              @Larvitz@burningboard.net

                                                              "nix" on Fedora Linux 44. What a time to be alive 😀

                                                                AodeRelay boosted

                                                                [?]GNU/Linux.ch » 🌐
                                                                @gnulinux@social.anoxinon.de

                                                                NixOS - Setup-Guide, Teil 1

                                                                Das ist der Auftakt zu einem dreiteiligen Set-up-Guide. Es geht bei Null los und endet in einem Multi-Host-Set-up. Im Teil 1 beschreibe ich die NixOS-Idee, also den brillanten Paradigmenwechsel, sowie erste Schritte für Ein- und Umsteiger.

                                                                gnulinux.ch/nixos-setup-guide-

                                                                  Fred de CLX boosted

                                                                  [?]Home Manager News » 🤖 🌐
                                                                  @hmnews@techhub.social

                                                                  A new module is available: 'programs.github-copilot-cli'. GitHub Copilot CLI brings the agentic Copilot coding experience to the terminal. The module manages the `~/.copilot/config.json` settings file (model, theme, trusted folders, hooks, feature flags, etc.) and the `~/.copilot/mcp-config.json` MCP server registry. Setting `enableMcpIntegration = true` reuses servers defined under `programs.mcp.servers`, with `programs.github-copilot-cli.mcpServers` taking precedence.

                                                                    Fred de CLX boosted

                                                                    [?]Home Manager News » 🤖 🌐
                                                                    @hmnews@techhub.social

                                                                    The `programs.thunderbird.languagePacks` option has been added to install and activate Thunderbird language packs. The `programs.thunderbird.policies` option has also been added to configure Thunderbird enterprise policies. These policies can install Thunderbird add-ons through `ExtensionSettings` and configure other supported application behavior. Thunderbird now supports accounts configured with `accounts.email.accounts.<name>.ews`, including the `outlook.office365.com-ews` flavor for Office365 Exchange accounts.

                                                                      [?]Ludovic Courtès » 🌐
                                                                      @civodul@toot.aquilenet.fr

                                                                      [?]Yann Büchau :nixos: » 🌐
                                                                      @nobodyinperson@fosstodon.org

                                                                      🗳

                                                                      [?]Plutarch [he/him] » 🌐
                                                                      @plutarch@gotosocial.plutar.ch

                                                                      Is NixOS a good first distro?

                                                                      (By all means, explain your reasoning as to why or why not below.)

                                                                      #NixOS #Nix #Linux

                                                                      Yes.:0
                                                                      No.:13
                                                                      Something else (please elaborate).:1

                                                                        [?]Yann Büchau :nixos: » 🌐
                                                                        @nobodyinperson@fosstodon.org

                                                                        Yet another mobile Linux rant [SENSITIVE CONTENT]

                                                                        @juanejot @abranson There's @rubdos's recent long term review: rubdos.be/2026/04/17/my-sailfi

                                                                        I am also using the package manager on my SailfishOS phone, which gives you access to a ridiculous amount of Linux software (search.nixos.org), though GUI apps seem to require some unknown-to-me magic to lauch at all under SailfishOS's Wayland UI.

                                                                        forum.sailfishos.org/t/install

                                                                          [?]nico » 🌐
                                                                          @n@gotosocial.tourmentine.com

                                                                          [?]Yann Büchau :nixos: » 🌐
                                                                          @nobodyinperson@fosstodon.org

                                                                          @vivekanandanks Great, we need more good content out there. Youtube is overrun by AI slop (and it's ridiculously hard on the webapp to ignore such channels). I'm on tube.tchncs.de for my videos.

                                                                            [?]nico » 🌐
                                                                            @n@gotosocial.tourmentine.com

                                                                            AodeRelay boosted

                                                                            [?]bbₜᵤₓᵢ » 🌐
                                                                            @tux@burningboard.net

                                                                            👍🏻

                                                                              [?]Yann Büchau :nixos: » 🌐
                                                                              @nobodyinperson@fosstodon.org

                                                                              @tux Nein, das wird nur der Paketmanager sein. Aber das öffnet die Tür zu , also einem "Mini-NixOS" nur für den User. Da kann man auch schon einiges mit erreichen.

                                                                                AodeRelay boosted

                                                                                [?]bbₜᵤₓᵢ » 🌐
                                                                                @tux@burningboard.net

                                                                                Paketmanager kommt für 😯

                                                                                Hat das Teil den selben Funktionsumfang wie bei ?

                                                                                z.b. User anlegen, Firewall steuern usw?

                                                                                fosstopia.de/fedora-44-beta/

                                                                                  [?]Lobsters » 🤖 🌐
                                                                                  @lobsters@mastodon.social

                                                                                  [?]Yann Büchau :nixos: » 🌐
                                                                                  @nobodyinperson@fosstodon.org

                                                                                  Wrote my first :rust: program today. A small utility to grab the last value of a matching column in a matching csv file. I had hacked something together with , and , but those were all too slow for fast repeated calls. This Rust version executes 10-100x faster: a few ms on a :raspberrypi: 4, neat! 👌

                                                                                  Rust and :nixos: is also a match made in heaven, omg is the experience better than Python 🫠

                                                                                  $ csvget scd30 co2
                                                                                  940.66

                                                                                    [?]Yann Büchau :nixos: » 🌐
                                                                                    @nobodyinperson@fosstodon.org

                                                                                    TIL that in :nixos: , "${./mydir}" will survive a garbage collection, but a plain ./mydir will not!

                                                                                    Took me way too long to figure this out. Didn't help that `just` gives a stupid error message about a missing shell when it can't change into its -d working directory. 🤦

                                                                                    github.com/casey/just/issues/2