| 1 Dec 2022 |
Zhaofeng Li | And the weirdness is part of the reason I changed it to only escalate during activation. Permissions can also be easily messed up if you interact with the flake as another user. | 20:52:18 |
@ask-yourself:matrix.org | I can deinitely switch to unstable. | 20:52:58 |
@ask-yourself:matrix.org | I was just a bit confused how to do that. | 20:53:04 |
Zhaofeng Li | nix shell github:zhaofengli/colmena should get you in a shell that has the unstable colmena. To add it to your config, add inputs.colmena.url = "github:zhaofengli/colmena"; and insert colmena.packages.${system}.colmena to devShell/systemPackages. | 20:55:36 |
@ask-yourself:matrix.org | Ok doing this now. And then once I'm unstable the command is just colmena apply-local? | 20:56:26 |
Zhaofeng Li | colmena apply --sudo with deployment.privilegeEscalationCommand set in the config. | 20:56:59 |
@ask-yourself:matrix.org | Ahhh, ok right. | 20:57:09 |
@ask-yourself:matrix.org | Sorry lots of parts.. :P | 20:57:15 |
@ask-yourself:matrix.org | I'll try this out. | 20:57:24 |
@ask-yourself:matrix.org | Ok, now it's working perfectly. Thank you. :) | 22:50:00 |
@linus:schreibt.jetzt | In reply to @zhaofeng:zhaofeng.li Does doas git work? I suspect in such a case doas will do PATH resolution? | 22:51:12 |
@ask-yourself:matrix.org | In reply to @linus:schreibt.jetzt I suspect in such a case doas will do PATH resolution? Yes. | 22:51:48 |
@linus:schreibt.jetzt | so doas sh -c git might be a better test | 22:52:02 |
@ask-yourself:matrix.org | ~/Test λ doas sh -c git
sh: line 1: git: command not found
| 22:52:40 |
Zhaofeng Li | In reply to @linus:schreibt.jetzt I suspect in such a case doas will do PATH resolution? Aha, TIL | 22:56:45 |
| 2 Dec 2022 |
@ask-yourself:matrix.org | For some reason my current config will build locally (on any of my machines) but will not push to my remote machine. It complains about lacking valid signatures. This is the line causing the issue (if I remove it I can push config to any machine): https://gitlab.com/IsaacBrown92/dotfiles/-/blob/main/modules/rofi/default.nix#L18 | 12:43:43 |
@ask-yourself:matrix.org | inherit (config.lib.formats.rasi) mkLiteral;
| 12:44:06 |
@ask-yourself:matrix.org | Could anybody clarify why this is happening? | 12:44:21 |