!9IQChSjwSHXPPWTa:lix.systems

Lix

1120 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms302 Servers

Load older messages


SenderMessageTime
27 Jan 2026
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)i want to switch off but I haven't found an integration guide to npins08:12:15
@mickeymarse:4d2.orgm
In reply to @k900:0upti.me
If flakes work for you, use flakes
It's more like the only thing I've used 😅
08:12:48
@k900:0upti.meK900Well is it causing you problems?08:13:05
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&the thing that made me switch off was that i found myself circumventing flakes more than i used them08:13:39
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&like importing default/package.nix instead of using flake attrs08:13:59
@mickeymarse:4d2.orgm nope 08:14:15
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)well, for me, its more of an philosephical thing, I like the idea of flakes but not how they are implemented08:14:18
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 08:14:37
@vczf:matrix.orgvczf
In reply to @sofiedotcafe:matrix.org
i want to switch off but I haven't found an integration guide to npins

I’m using eval-config.nix in my /etc/nixos/default.nix. Essentially,

let
  system = “x86_64-linux”;
  pins = import ./npins;
  pkgs = import pins.nixpkgs { inherit system; };
in
import “${pins.nixpkgs}/nixos/lib/eval-config.nix” {
  inherit pkgs;
  modules = [ ./configuration.nix ];
}

Then nixos-rebuild -f /etc/nixos switch works fine. My actual config is more complex with per-host modules and overlays and import-tree and a fun mess, but that’s the bones

08:58:51
@vczf:matrix.orgvczf

Here’s my flake alias lol:

fk = “nix --extra-experimental-features flakes”;
09:00:59
@vczf:matrix.orgvczfI’ve been avoiding flakes the second time around since it wasn’t helping me understand nix code in general09:01:59
@vczf:matrix.orgvczf* I’ve been avoiding flakes the second time trying to learn nix since it wasn’t helping me understand nix code in general09:02:17
@neobrain:matrix.orgneobrainWhy aren't you enabling it in your nix.conf directly?09:29:52
@neobrain:matrix.orgneobrain(Or in configuration.nix)09:30:26
@vczf:matrix.orgvczf I don’t need it except occasionally. I use comma instead of nix run and , -s nix shell 09:47:12
@vczf:matrix.orgvczf* I don’t need it except occasionally. I use comma instead of nix run and , -s rather than nix shell09:47:25
@vczf:matrix.orgvczf My biggest lifesaver with this config so far is DankMaterialShell being upstreamed into nixpkgs. Not sure if I’d have been able to figure out how to integrate their flake into my config 09:50:22
@neobrain:matrix.orgneobrainthat's the nix-command feature, not flakes. Enabling either feature doesn't disable the "old" interfaces afaik. but whatever works for you :)09:52:22
@vczf:matrix.orgvczf You need flakes enabled in order to nix run nixpkgs#cowsay hello
Unless I am mistaken, that nixpkgs is a reference to the system flake registry entry for nixpkgs
10:01:38
@neobrain:matrix.orgneobrainright10:29:26
@jez:cooperative.computerJez (he/him) 🐦‍⬛ joined the room.10:51:59

There are no newer messages yet.


Back to Room ListRoom Version: 10