beginning of emacs
This commit is contained in:
parent
f83ef0d7d9
commit
e7271c6134
24
flake.lock
generated
24
flake.lock
generated
@ -110,6 +110,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"emacs-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nixpkgs-stable": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1749173328,
|
||||||
|
"narHash": "sha256-f7rMoP369fUDu9WlI1v+Q3SivvXmL2IcNPdn+g9yaTc=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "emacs-overlay",
|
||||||
|
"rev": "4057e1fcd998c653be0db421a3fb268e28d17d8f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "emacs-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -420,6 +443,7 @@
|
|||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"chaotic": "chaotic",
|
"chaotic": "chaotic",
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
|
"emacs-overlay": "emacs-overlay",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
|
|||||||
@ -50,6 +50,12 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.nixpkgs-stable.follows = "nixpkgs";
|
inputs.nixpkgs-stable.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emacs-overlay = {
|
||||||
|
url = "github:nix-community/emacs-overlay";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.nixpkgs-stable.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
@ -44,6 +44,18 @@ let
|
|||||||
typescript-language-server # typescript lsp
|
typescript-language-server # typescript lsp
|
||||||
cmake-language-server # cmake lsp
|
cmake-language-server # cmake lsp
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
# Praise be to the church of emacs
|
||||||
|
emacs_stuff = with pkgs; [
|
||||||
|
emacs-unstable
|
||||||
|
|
||||||
|
# shell check things
|
||||||
|
shellcheck
|
||||||
|
|
||||||
|
# for search
|
||||||
|
fd
|
||||||
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@ -55,13 +67,13 @@ in
|
|||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
inputs.rust-overlay.overlays.default
|
inputs.rust-overlay.overlays.default
|
||||||
|
inputs.emacs-overlay.overlays.default
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "25.11";
|
||||||
home.enableNixpkgsReleaseCheck = false;
|
|
||||||
|
|
||||||
home.packages =
|
home.packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
@ -97,6 +109,10 @@ in
|
|||||||
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
|
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
|
||||||
lurk # better strace
|
lurk # better strace
|
||||||
|
|
||||||
|
|
||||||
|
# alternative to `find`
|
||||||
|
fd
|
||||||
|
|
||||||
# adds `sensors` command
|
# adds `sensors` command
|
||||||
lm_sensors
|
lm_sensors
|
||||||
|
|
||||||
@ -188,7 +204,8 @@ in
|
|||||||
jasmin
|
jasmin
|
||||||
]
|
]
|
||||||
++ rust_pkgs
|
++ rust_pkgs
|
||||||
++ lsps;
|
++ lsps
|
||||||
|
++ emacs_stuff;
|
||||||
|
|
||||||
# https://github.com/flamegraph-rs/flamegraph
|
# https://github.com/flamegraph-rs/flamegraph
|
||||||
home.file.".cargo/config.toml".text = ''
|
home.file.".cargo/config.toml".text = ''
|
||||||
|
|||||||
@ -49,6 +49,7 @@ in
|
|||||||
shellInit = ''
|
shellInit = ''
|
||||||
fish_add_path ~/.local/bin
|
fish_add_path ~/.local/bin
|
||||||
fish_add_path ~/.cargo/bin
|
fish_add_path ~/.cargo/bin
|
||||||
|
fish_add_path ~/.config/emacs/bin
|
||||||
set hydro_color_pwd 62A
|
set hydro_color_pwd 62A
|
||||||
set hydro_color_error red
|
set hydro_color_error red
|
||||||
set hydro_color_duration yellow
|
set hydro_color_duration yellow
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user