flake: nix-doom-emacs cleanup
This commit is contained in:
parent
3f5527bdca
commit
3252e2b8a3
11
flake.nix
11
flake.nix
|
@ -8,15 +8,16 @@
|
|||
nur.url = "github:nix-community/NUR";
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
#nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
||||
nix-doom-emacs.url = "git+https://codeberg.org/jezcope/nix-doom-emacs?ref=fix/evil-collection";
|
||||
nix-doom-emacs.url =
|
||||
"git+https://codeberg.org/jezcope/nix-doom-emacs?ref=fix/evil-collection";
|
||||
nix-std.url = "github:chessai/nix-std";
|
||||
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ self, nixpkgs, home-manager, nur, emacs-overlay, nix-std, ... }@inputs:
|
||||
outputs = { self, nixpkgs, home-manager, nur, emacs-overlay, nix-std
|
||||
, nix-doom-emacs, ... }@inputs:
|
||||
let
|
||||
inherit (nixpkgs.lib) genAttrs nixosSystem;
|
||||
|
||||
|
@ -45,8 +46,8 @@
|
|||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.jez = import ./home;
|
||||
extraSpecialArgs = { inherit inputs std; };
|
||||
users.jez = { imports = [ nix-doom-emacs.hmModule ./home ]; };
|
||||
extraSpecialArgs = { inherit std; };
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (inputs) nix-doom-emacs;
|
||||
|
||||
shellAliases = {
|
||||
e = "emacsclient -t"; # Terminal
|
||||
ew = "emacsclient -c"; # New window (and wait)
|
||||
|
@ -12,13 +10,6 @@ let
|
|||
doom = "~/.emacs.d/bin/doom";
|
||||
};
|
||||
in {
|
||||
imports = [ nix-doom-emacs.hmModule ];
|
||||
|
||||
# programs.emacs = {
|
||||
# enable = true;
|
||||
# package = pkgs.emacs-unstable;
|
||||
# };
|
||||
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
doomPrivateDir = ./doom.d;
|
||||
|
@ -45,17 +36,6 @@ in {
|
|||
})
|
||||
];
|
||||
|
||||
# home.file = {
|
||||
# ".doom.d" = {
|
||||
# source = ./doom.d;
|
||||
# recursive = true;
|
||||
# };
|
||||
# ".doom.d/snippets".source = ./snippets;
|
||||
# ".doom.d/nix.el".text = ''
|
||||
# (add-to-list 'load-path "${pkgs.mu}/share/emacs/site-lisp/mu4e")
|
||||
# '';
|
||||
# };
|
||||
|
||||
programs.firefox.profiles.default.settings = {
|
||||
"network.protocol-handler.expose.org-protocol" = false;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue