!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

224 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs47 Servers

Load older messages


SenderMessageTime
13 Sep 2022
@yuki:backalley.clubYuki (they/them) (Old)
~ % uname -a
Linux astolfo 5.15.57.1-microsoft-standard-WSL2 #1 SMP Wed Jul 27 02:20:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
21:55:21
@ckie:ckie.devmei 🌒&that's the one that's okay?21:56:39
@yuki:backalley.clubYuki (they/them) (Old) they're both the same 21:56:01
@yuki:backalley.clubYuki (they/them) (Old)

[nixos@astolfo:~/home-access]$ uname -a
Linux astolfo 5.15.57.1-microsoft-standard-WSL2 #1 SMP Wed Jul 27 02:20:31 UTC 2022 x86_64 GNU/Linux
21:56:12
@yuki:backalley.clubYuki (they/them) (Old) *
[nixos@astolfo:~/home-access]$ uname -a
Linux astolfo 5.15.57.1-microsoft-standard-WSL2 #1 SMP Wed Jul 27 02:20:31 UTC 2022 x86_64 GNU/Linux
21:56:18
@k0kada:matrix.orgk0kada (he/him)I would say you to try something, and them I remember that you're using single-user mode21:58:35
@yuki:backalley.clubYuki (they/them) (Old)yup21:57:47
@yuki:backalley.clubYuki (they/them) (Old)WSL requires single-user mode due to the lack of systemd21:58:14
@yuki:backalley.clubYuki (they/them) (Old) * WSL requires Nix to run in single-user mode due to the lack of systemd as PID 121:58:24
@yuki:backalley.clubYuki (they/them) (Old) (there are hacks to make systemd as PID 1 which does some user namespace trickery: https://github.com/arkane-systems/genie) 21:59:25
@ckie:ckie.devmei 🌒&can you try using a remote builder to a machine that works maybe?22:00:30
@k0kada:matrix.orgk0kada (he/him)This will kinda fuck your setup, but can you try to run the single user mode with root?22:00:30
@k0kada:matrix.orgk0kada (he/him)You can chown later :p22:00:40
@yuki:backalley.clubYuki (they/them) (Old)
In reply to@k0kada:matrix.org
This will kinda fuck your setup, but can you try to run the single user mode with root?
np, I can always snapshot
21:59:55
@yuki:backalley.clubYuki (they/them) (Old)let me snapshot real quick22:00:03
@ckie:ckie.devmei 🌒&
In reply to @ckie:ckie.dev
can you try using a remote builder to a machine that works maybe?
i'm hoping that works because otherwise something is veryveryvery wrong
22:01:08
@k0kada:matrix.orgk0kada (he/him)
In reply to @yuki:backalley.club
WSL requires Nix to run in single-user mode due to the lack of systemd as PID 1
Do the nix daemon actually require systemd btw?
22:02:20
@k0kada:matrix.orgk0kada (he/him)I thought it was just because of the service22:02:30
@yuki:backalley.clubYuki (they/them) (Old)
In reply to@k0kada:matrix.org
Do the nix daemon actually require systemd btw?
It requires it to run as root as far as I know
22:01:39
@k0kada:matrix.orgk0kada (he/him)
In reply to @yuki:backalley.club
It requires it to run as root as far as I know
Yeah, this makes sense, but I think you can run nix daemon with any other supervisor
22:03:03
@yuki:backalley.clubYuki (they/them) (Old) I typically use single-user Nix on non-NixOS systems 22:02:16
@yuki:backalley.clubYuki (they/them) (Old)
In reply to@yuki:backalley.club
I typically use single-user Nix on non-NixOS systems
Had really bad experience with multi-user Nix on non-NixOS systems
22:02:30
@k0kada:matrix.orgk0kada (he/him)
In reply to @yuki:backalley.club
Had really bad experience with multi-user Nix on non-NixOS systems
Hah, I had the opposite :p
22:03:43
@yuki:backalley.clubYuki (they/them) (Old)while my WSL instance is being exported, gonna setup a remote builder22:02:54
@k0kada:matrix.orgk0kada (he/him)I really hate single user mode, had a few bad issues with it22:04:16
@k0kada:matrix.orgk0kada (he/him)While never had any problems with multi user in non NixOS 22:04:29
@k0kada:matrix.orgk0kada (he/him)
In reply to @k0kada:matrix.org
I really hate single user mode, had a few bad issues with it
This is just another one to put on the pile BTW
22:04:57
@yuki:backalley.clubYuki (they/them) (Old) ugh it'll be painful to switch Nix from single-user to multi-user on my work VM 22:05:00
@k0kada:matrix.orgk0kada (he/him)
In reply to @yuki:backalley.club
ugh it'll be painful to switch Nix from single-user to multi-user on my work VM
It is kinda easy, just nuke your /nix/store and run the install script again
22:07:21
@mon:tchncs.deribosomerocker
In reply to@mon:tchncs.de

about this: https://github.com/nix-community/nix-doom-emacs/pull/266#discussion_r969490245

do you think it's implied? i'd really like to keep it in to at least give users some semblance of knowing what's most recommended

that, plus i'm confused about https://github.com/nix-community/nix-doom-emacs/pull/266#discussion_r969500567 what i need to do here? i've never had that error personally, does it just happen if the package doesn't exist or something?
22:07:43

Show newer messages


Back to Room ListRoom Version: 9