doom-emacs (#6)
Co-authored-by: Anthony Cicchetti <acicchetti@jellyfish.co> Reviewed-on: #6
This commit is contained in:
parent
5258195522
commit
b548a8078d
6 changed files with 29 additions and 8 deletions
|
@ -24,7 +24,7 @@
|
|||
modules = [
|
||||
{
|
||||
# https://devenv.sh/reference/options/
|
||||
packages = [pkgs.hello pkgs.delta pkgs.difftastic];
|
||||
packages = [pkgs.hello pkgs.delta pkgs.difftastic pkgs.alejandra];
|
||||
|
||||
enterShell = ''
|
||||
hello
|
||||
|
|
12
nix/home-manager/flake.lock
generated
12
nix/home-manager/flake.lock
generated
|
@ -82,11 +82,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1684321175,
|
||||
"narHash": "sha256-V4EbM+jK7pvjKBaj0dgAiW9ultzDE27Nz5fRyu/ceMk=",
|
||||
"lastModified": 1684484967,
|
||||
"narHash": "sha256-P3ftCqeJmDYS9LSr2gGC4XGGcp5vv8TOasJX6fVHWsw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "59659243cd4ababda605e79b4a9c2e6d83e24c86",
|
||||
"rev": "b9a52ad20e58ebd003444915e35e3dd2c18fc715",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -205,11 +205,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1684215771,
|
||||
"narHash": "sha256-fsum28z+g18yreNa1Y7MPo9dtps5h1VkHfZbYQ+YPbk=",
|
||||
"lastModified": 1684385584,
|
||||
"narHash": "sha256-O7y0gK8OLIDqz+LaHJJyeu09IGiXlZIS3+JgEzGmmJA=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "963006aab35e3e8ebbf6052b6bf4ea712fdd3c28",
|
||||
"rev": "48a0fb7aab511df92a17cf239c37f2bd2ec9ae3a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
|
@ -2,9 +2,15 @@
|
|||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
imports = [./git.nix ./starship.nix ./zellij.nix];
|
||||
imports = [
|
||||
./emacs.nix
|
||||
./git.nix
|
||||
./starship.nix
|
||||
./zellij.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
bandwhich
|
||||
bat
|
||||
|
|
11
nix/home-manager/modules/packages/emacs.nix
Normal file
11
nix/home-manager/modules/packages/emacs.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
home.file.".doom.d/init.el".source = ../../../../emacs/emacs.doom/init.el;
|
||||
home.file.".doom.d/config.el".source = ../../../../emacs/emacs.doom/config.el;
|
||||
home.file.".doom.d/packages.el".source = ../../../../emacs/emacs.doom/packages.el;
|
||||
}
|
|
@ -16,3 +16,6 @@ else
|
|||
# we're linux
|
||||
home-manager switch --flake "$PWD/home-manager#x86_64-linux-acicchetti"
|
||||
fi
|
||||
|
||||
git clone https://github.com/doomemacs/doomemacs ~/.emacs.d
|
||||
~/.emacs.d/bin/doom install
|
||||
|
|
Loading…
Add table
Reference in a new issue