!UUqahLbShAYkkrXmKs:matrix.org

DevOS

33 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
12 Aug 2021
@kraftnix:matrix.org@kraftnix:matrix.orgI have looked at emacs a few times, and using evil-mode seems like it would be a nice an OK entry into it as a vimmer, but it's such a commitment, it's like taking my shell and turning it into an OS. I'm quite happy with my vim+tmux+zsh setup, it's really org-mode and a few other things that have emacs calling to me.21:41:46
@timdeh:matrix.org@timdeh:matrix.orgIndeed. A comparable org mode in vim would be stellar21:43:02
@d4hines:matrix.org@d4hines:matrix.org
In reply to @blaggacao:matrix.org
upfront investment is a bit more involved, but tailing compound interests are considerable 🐿️
I don't doubt it! But I've carved out a set block of time to make an effort at using Nix for my day-to-day workstation. I don't think learning (and possibly waiting for/developing new features for) the DevOS family of tools will fit into that time. My hope is that if I can get something working reliably, I can learn the cool stuff little by little.
21:43:52
@timdeh:matrix.org@timdeh:matrix.orgwell I'm building your hm config now, we'll see if I can track down the issue21:44:44
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @timdeh:matrix.org
Indeed. A comparable org mode in vim would be stellar
can't seem to find that with a search
21:44:51
@timdeh:matrix.org@timdeh:matrix.orgI know there are plugins, but nothing that works as well (from what I hear at least)21:45:17
@kraftnix:matrix.org@kraftnix:matrix.orgoh i completely misunderstood what you said, i thought you said there was a vim plugin called stellar that was comparable to org-mode 😅21:46:15
@d4hines:matrix.org@d4hines:matrix.org
In reply to @timdeh:matrix.org
well I'm building your hm config now, we'll see if I can track down the issue
Are you on the latest commit (that has digga) or the one with my overlay (46ba9712110e164d4fe963d525511ce0d9bc86d3)? it's a bit disorganized right now
21:46:48
@timdeh:matrix.org@timdeh:matrix.orgoh no, I just thought I'd use a language throwback from the 80/90s 😅21:47:08
@timdeh:matrix.org@timdeh:matrix.orgThe one you linked earlier with the overlay21:47:30
@timdeh:matrix.org@timdeh:matrix.org46ba9721:47:39
@d4hines:matrix.org@d4hines:matrix.orgCool ty!21:47:43
@d4hines:matrix.org@d4hines:matrix.orgHow are you debugging it? I'm so curious to know.21:48:06
@timdeh:matrix.org@timdeh:matrix.orghmm, well interestingly, it built fine for me with no issues 😅21:48:43
@timdeh:matrix.org@timdeh:matrix.orgthe problem must occur during activation perhaps?21:48:52
@timdeh:matrix.org@timdeh:matrix.orgI think I can make a new throwaway user to try activating it21:49:15
@gtrunsec:matrix.org@gtrunsec:matrix.orgif you mean emacs overlay, my example would be help you https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/blob/main/emacs/flake.nix22:16:40
@yusdacra:nixos.dev@yusdacra:nixos.dev changed their profile picture.22:23:34
@d4hines:matrix.org@d4hines:matrix.org When using the imperative commands like nix-env --set-flag, where is that metadata stored? 22:26:18
@timdeh:matrix.org@timdeh:matrix.orggood question22:27:24
@timdeh:matrix.org@timdeh:matrix.orgI think priority information is part of the module system, so probably within the derivation itself (but that's just a guess)22:27:54
@gtrunsec:matrix.org@gtrunsec:matrix.org * if you mean emacs overlay, my example would help you (emacs-ng feature )https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/blob/main/emacs/flake.nix22:28:48
@ultranix:matrix.orgultranixbud repl22:38:51
@ultranix:matrix.orgultranix
In reply to @kraftnix:matrix.org

Ok, it's 100% an emacs issue, I spliced down your profile until and simply adding/removing user.profiles.emacs from your user makes the issue appear/disappear.

i don't use emacs, or understand how their overlay works but that's your current issue.

if you haven't heard about bud before I highly recommend checking it out, specifically how it helped me quickly find your issue was doing

bud repl
 nix-repl> Flake.nixosConfigurations.arrakis.config.system.path
error: The option `home-manager.users.tgunnoe.inputs' does not exist. Definition values:
       - In `/nix/store/493yp6hb6mc186mgi2h2m9kddq5dwk3y-source/users/tgunnoe': { }
«derivation
# comment out your emacs profile
nix-repl> :r
Loading '/nix/store/q35fmyf6l8d5gc7khgmpqzj84q6l6wlj-repl.nix'...
Added 4 variables.

nix-repl> Flake.nixosConfigurations.arrakis.config.system.path
«derivation /nix/store/0xg5n34l73p7h03wsi5ixl7ijlpm1j6h-system-path.drv»

allows for very quick debugging

i'll check it out, thank you
22:39:14
@ultranix:matrix.orgultranix i dont understand still what bud is for. in that example, it seems to run nix-repl and then Flake.nixosConfigurations.arrakis.config.system.path 22:40:37
@kraftnix:matrix.org@kraftnix:matrix.orgbud is the replacement for flk with more features, makes it easier to write your own custom cli22:41:16
@kraftnix:matrix.org@kraftnix:matrix.orgso basically yeah bud repl, is just nix repl but wraps in a few things, bud gives you Flake, Channels, LoadFlake and Me22:42:16
@ultranix:matrix.orgultranixi didn't use flk either. it disconnected me from understanding what the normal nix/flake commands would be22:42:18
@timdeh:matrix.org@timdeh:matrix.org Just for posterity, d4hines and I debugged the issue further via DM, and we discovered that the conflict was due to the the nix which was installed by default in the profile already, and the home-manager derivation which was trying to be installed. Lowering the priority of the default Nix install package with nix-env --set-flag resolved the conflict 22:43:21
@ultranix:matrix.orgultranixthat emacs profile is getting dated i suppose22:43:49

Show newer messages


Back to Room ListRoom Version: 6