| 8 Sep 2022 |
ribosomerocker | anyways, now that i'm done, i think i'm going to help with the documentation by making wiki articles in the github repo, but it seems you guys don't have the wiki enabled | 07:23:38 |
ckie (they/them; limited keyboard usage, voice preferred) | mon_aaraj: i think a PR with a new docs folder would be better so it can be available offline and maybe converted into a manpage too eventually | 10:53:09 |
ckie (they/them; limited keyboard usage, voice preferred) | (you can clone github wikis but they're a separate git repo, have bad UX etc etc) | 10:53:36 |
ribosomerocker | ah alright | 11:05:03 |
ribosomerocker | In reply to@k0kada:matrix.org This should be a derivation, not a function i agree! anytime it's getting fixed? | 16:48:21 |
ribosomerocker | i think the switch to packages and derivations should be done ASAP | 16:48:48 |
k0kada (he/him) | I am waiting ckie (they/them) to approve this PR first: https://github.com/nix-community/nix-doom-emacs/pull/260 | 16:52:12 |
k0kada (he/him) | Yeah, they're not related, but I don't want to have too many improvements PRs at the same time :P | 16:52:37 |
ribosomerocker | is using nix-doom-emacs without home-manager in any way recommended? i'm trying to see if i can write an example conf without home-manager but the whole package and functions instead of derviations is making it pretty difficult since i don't know how that'd work | 16:54:10 |
ribosomerocker | i might just write it as if those things are already merged haha | 16:54:23 |
k0kada (he/him) | In reply to @mon:tchncs.de is using nix-doom-emacs without home-manager in any way recommended? i'm trying to see if i can write an example conf without home-manager but the whole package and functions instead of derviations is making it pretty difficult since i don't know how that'd work This is something that I realized the other day. It is possible but it gets ugly | 16:56:00 |
k0kada (he/him) | Ironically, it is more difficult to do this with Flakes than without Flakes | 16:56:39 |
ribosomerocker | oh wow | 16:57:37 |
ribosomerocker | i mean, with non-flakes it's as easy as
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d;
right? since that's usable in both home.packages and systemPackages? | 16:59:10 |
k0kada (he/him) | I think the reason why nobody realized yet that our current Flakes output are kinda bad and bizarre talks a lot about our user base (probably folks that are heavily invested in Nix/NixOS/Home-Manager) | 16:59:35 |
ribosomerocker | well, from my point of view it says that not many people actively update their system while using it :P | 17:00:18 |
k0kada (he/him) | In reply to @mon:tchncs.de
i mean, with non-flakes it's as easy as
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d;
right? since that's usable in both home.packages and systemPackages? Without testing this looks right, because our default.nix is the function that makes a NDE derivation | 17:00:40 |
ribosomerocker | though that might've just been because everyone I'm around just never got NDE to work and it always failed to function for them | 17:01:01 |
k0kada (he/him) | However in Flakes, since we don't expose this function, things gets kinda ugly | 17:01:05 |
k0kada (he/him) | I think it is something like nde = pkgs.callPackage (import "${inputs.nix-doom-emacs}" { }) | 17:02:02 |
ribosomerocker | huh. well, i suppose exposing that function in the Flake would be easy | 17:02:45 |
k0kada (he/him) | In reply to @mon:tchncs.de huh. well, i suppose exposing that function in the Flake would be easy Yeah, but it will also be non-standard | 17:03:20 |
k0kada (he/him) | Kinda like our hmModule | 17:03:27 |
ribosomerocker | why would that be non-standard? a lot of the packages i'm using do that | 17:03:51 |
k0kada (he/him) | BTW, since we are already discussing big refactors
ckie (they/them) WDYT about nixpkgs-fmt in place of nix-fmt?
| 17:04:00 |
ribosomerocker | like hyprland and webcord flakes | 17:04:04 |
k0kada (he/him) | (I hate nixfmt formatting) | 17:04:10 |
k0kada (he/him) | * BTW, since we are already discussing big refactors
ckie (they/them) WDYT about nixpkgs-fmt in place of nixfmt?
| 17:04:15 |
ribosomerocker | i think alejandra is the big name these days | 17:04:23 |
k0kada (he/him) | In reply to @mon:tchncs.de why would that be non-standard? a lot of the packages i'm using do that There is no standard to expose functions in Flakes yet | 17:04:45 |