!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
12 Sep 2022
@mon:tchncs.deribosomerocker

about this: https://github.com/nix-community/nix-doom-emacs/pull/266#discussion_r968946311 how do you suggest i make it? ignore any other file and only use flake.nix to demonstrate?

21:30:34
@k0kada:matrix.orgk0kada (he/him) A real nitpick, but I am almost sure the project is called nix-doom-emacs 21:30:51
@k0kada:matrix.orgk0kada (he/him) Not Nix-Doom-Emacs 21:30:56
@k0kada:matrix.orgk0kada (he/him) But I will leave that one to ckie (they/them) 21:31:03
@mon:tchncs.deribosomerocker oh yeah, you're right 😅 21:31:17
@ckie:ckie.devckie (they/them)yup, that's a part of my review21:31:19
@ckie:ckie.devckie (they/them)should i go ahead with my wave?21:31:23
@mon:tchncs.deribosomerocker sure 21:31:33
@mon:tchncs.deribosomerocker
In reply to@mon:tchncs.de

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

how do you suggest i make it? ignore any other file and only use flake.nix to demonstrate?

well, i think i'll just make it flake.nix
21:32:18
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
yup, that's a part of my review
Yeah, it mostly looks good for me
21:32:29
@k0kada:matrix.orgk0kada (he/him)Have just a few small comments that I am doing right now21:32:38
@ckie:ckie.devckie (they/them)we should try pairing sometime, could be interesting21:35:27
@mon:tchncs.deribosomerocker

i have the nixos+hm flake.nix as

{
  inputs = {
    home-manager.url = "github:nix-community/home-manager";
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = {
    self,
    nixpkgs,
    lib,
    home-manager,
    nix-doom-emacs,
    ...
  }:
    let
      system      = "x86_64-linux";
    in {
    nixosConfigurations.exampleHost = lib.nixosSystem {
      inherit system;
      modules = [
        ./default.nix
        home-manager.nixosModules.home-manager
        {
          home-manager.users.exampleUser = { ... }: {
            imports = [ nix-doom-emacs.hmModule ]
            programs.doom-emacs = {
              enable = true;
              doomPrivateDir = true;
            }
          };
        }
      ];
    };
  };
}
21:40:30
@mon:tchncs.deribosomerockerwill this work?21:40:34
@mon:tchncs.deribosomerocker specifically the imports line 21:40:42
@mon:tchncs.deribosomerocker i really don't want to use mkMerge :P 21:40:49
@k0kada:matrix.orgk0kada (he/him)It should21:41:00
@mon:tchncs.deribosomerocker alright, got it 21:41:12
@k0kada:matrix.orgk0kada (he/him)But to double check it21:41:20
@k0kada:matrix.orgk0kada (he/him)Let's build21:41:23
@k0kada:matrix.orgk0kada (he/him)(Also, please fix the indentation)21:41:35
@k0kada:matrix.orgk0kada (he/him) On system 21:41:40
@ckie:ckie.devckie (they/them) doomPrivateDir = true? 21:41:45
@ckie:ckie.devckie (they/them)yawot?21:41:48
@k0kada:matrix.orgk0kada (he/him)If you set it to false, your doom config is now public to everyone21:42:22
@ckie:ckie.devckie (they/them)missing semi on L2921:42:23
@mon:tchncs.deribosomerocker oops, typo 21:42:23
@ckie:ckie.devckie (they/them) k0kada: aha 21:42:32
@mon:tchncs.deribosomerocker
In reply to@k0kada:matrix.org
On system
how should it be indented?
21:43:13
@ckie:ckie.devckie (they/them)i think it might be worth it to write a little nix-doctest check in the main flake21:43:27

Show newer messages


Back to Room ListRoom Version: 9