| 28 Sep 2021 |
Dee | I assume this is because with a clean tree it... counts the commits or something? | 22:49:40 |
edrex | balsoft I'm reading some of your nixos-config modules for ideas | 22:55:46 |
edrex | i'm curious about the pass-based secrets management and using envsubst. Have you written about that anywhere (issue threads, design notes or whatnot)? | 22:57:50 |
edrex | i'm working on a module for setting up device-specific stuff esp networking (like, which interfaces are trusted LAN, etc so I can configure everything with a consistent policy. your devices module is a good template for that sort of thing (nothing non-obvious in it, i just like following established patterns over making up my own) | 23:00:48 |
balsoft | In reply to @edrex:matrix.org i'm curious about the pass-based secrets management and using envsubst. Have you written about that anywhere (issue threads, design notes or whatnot)? Nope, not yet | 23:02:32 |
edrex | i didn't know envsubst existed. | 23:03:06 |
balsoft | It's quite... hacky | 23:03:14 |
balsoft | So I'm not sure it's actually something to be reused as-is | 23:03:24 |
balsoft | But it's a good source of inspiration I think | 23:03:34 |
edrex | yeah | 23:03:36 |
edrex | i'm using agenix and quite happy with it, with a few nits | 23:04:51 |
balsoft | In reply to @edrex:matrix.org i'm working on a module for setting up device-specific stuff esp networking (like, which interfaces are trusted LAN, etc so I can configure everything with a consistent policy. your devices module is a good template for that sort of thing (nothing non-obvious in it, i just like following established patterns over making up my own) Note that most of my config is pretty NIH/reinventing-the-wheel-ish | 23:04:53 |
balsoft | The learning experience is as important as actually getting a good system going. | 23:07:22 |
edrex | I feel nixos as it is rewards a certain level of willingness and experience blazing trail | 23:07:51 |
edrex | it's really both a programming language community and a linux distro, which is kind of unique. | 23:09:44 |
| 29 Sep 2021 |
| Robert Pearce joined the room. | 01:37:24 |
| 1 Oct 2021 |
edrex | what's the deal with the "packages .. have the same priority messages when trying to nix profile install nixUnstable or bashInteractive? | 17:56:27 |
edrex | * what's the deal with the "packages .. have the same priority" messages when trying to nix profile install nixUnstable or bashInteractive? | 17:56:48 |
edrex | * what's the deal with the "packages .. have the same priority" messages when trying to nix profile install nixpkgs#nixUnstable or bashInteractive? | 17:57:15 |
Las | edrex: You're trying to install packages that provide the same binaries. | 18:03:06 |
Las | You likely already have a package with the binary in your profile. | 18:03:18 |
edrex | you're right, i had regular bash. i'm unclear how to replace my nix package atomically ( need latest nixpkgs-unstable) | 18:05:16 |
edrex | i should be using a flake.nix with home-manager etc, just trying to get something done real quick interactively. | 18:06:10 |
Jez (he/him) 🌦️ | nix shell might be a better option for that? | 18:12:43 |
edrex | I should ask, "how can I update the system nix to a different branch of nixpkgs"? | 18:15:31 |
edrex | any other package, i would nix profile remove N and reinstall | 18:15:51 |
edrex | (this is single user mode | 18:16:15 |
Roos | In reply to @edrex:matrix.org I should ask, "how can I update the system nix to a different branch of nixpkgs"? If using flakes, you can add --override-input nixpkgs github:NixOS/nixpkgs/foo, where foo is the target branch (or commit). If not using flakes, you can probably just export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/myuser/channels/mychannel:$NIX_PATH" before running your nix command. | 18:21:16 |
edrex | In reply to @jez:petrichor.me
nix shell might be a better option for that? nix shell nixpkgs/nixpkgs-unstable#nixUnstable gives
which nix => /home/eric/.nix-profile/bin/nix, which isn't what I expect (the version in my profile isn't from nixpkgs-unstable) | 18:27:36 |
edrex | In reply to @roosemberth:orbstheorem.ch If using flakes, you can add --override-input nixpkgs github:NixOS/nixpkgs/foo, where foo is the target branch (or commit). If not using flakes, you can probably just export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/myuser/channels/mychannel:$NIX_PATH" before running your nix command. Roos: i'm not using a flake for this rn. i have home-manager set up with my nixos hosts but not on laptop yet. To override NIX_PATH in that way, i guess I would have to create another channel with the branch set to nixpkgs-unstable? | 18:31:49 |