emacs
This commit is contained in:
parent
10c4152f54
commit
1e29764aee
5 changed files with 38 additions and 8 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -362,11 +362,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743167577,
|
"lastModified": 1743420942,
|
||||||
"narHash": "sha256-I09SrXIO0UdyBFfh0fxDq5WnCDg8XKmZ1HQbaXzMA1k=",
|
"narHash": "sha256-b/exDDQSLmENZZgbAEI3qi9yHkuXAXCPbormD8CSJXo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "0ed819e708af17bfc4bbc63ee080ef308a24aa42",
|
"rev": "de6fc5551121c59c01e2a3d45b277a6d05077bc4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -378,11 +378,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743231893,
|
"lastModified": 1743367904,
|
||||||
"narHash": "sha256-tpJsHMUPEhEnzySoQxx7+kA+KUtgWqvlcUBqROYNNt0=",
|
"narHash": "sha256-sOos1jZGKmT6xxPvxGQyPTApOunXvScV4lNjBCXd/CI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c570c1f5304493cafe133b8d843c7c1c4a10d3a6",
|
"rev": "7ffe0edc685f14b8c635e3d6591b0bbb97365e6c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -118,6 +118,7 @@
|
||||||
./modules/science.nix
|
./modules/science.nix
|
||||||
./modules/tlp.nix
|
./modules/tlp.nix
|
||||||
./modules/virtualization.nix
|
./modules/virtualization.nix
|
||||||
|
./modules/emacs.nix
|
||||||
./modules/mail
|
./modules/mail
|
||||||
./modules/wg
|
./modules/wg
|
||||||
];
|
];
|
||||||
|
|
|
@ -63,8 +63,6 @@
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.emacs.defaultEditor = false;
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
29
modules/emacs.nix
Normal file
29
modules/emacs.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ pkgs, inputs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
direnv
|
||||||
|
];
|
||||||
|
|
||||||
|
# nixpkgs.overlays = [
|
||||||
|
# inputs.emacs-overlay.overlay
|
||||||
|
# ];
|
||||||
|
|
||||||
|
services.emacs = {
|
||||||
|
install = true;
|
||||||
|
enable = false;
|
||||||
|
package = with pkgs; ((emacsPackagesFor (emacs-pgtk.overrideAttrs (old: {
|
||||||
|
passthru = old.passthru // {
|
||||||
|
treeSitter = true;
|
||||||
|
};
|
||||||
|
}))).emacsWithPackages (epkgs: with epkgs; [
|
||||||
|
# treesitter bits
|
||||||
|
treesit-grammars.with-all-grammars
|
||||||
|
|
||||||
|
vterm
|
||||||
|
pdf-tools
|
||||||
|
]));
|
||||||
|
defaultEditor = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -8,12 +8,14 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
amberol
|
amberol
|
||||||
celluloid
|
celluloid
|
||||||
|
ddcutil
|
||||||
gnome-console
|
gnome-console
|
||||||
gnome-obfuscate
|
gnome-obfuscate
|
||||||
gnome-boxes
|
gnome-boxes
|
||||||
gnome-tweaks
|
gnome-tweaks
|
||||||
qbittorrent
|
qbittorrent
|
||||||
gnomeExtensions.caffeine
|
gnomeExtensions.caffeine
|
||||||
|
gnomeExtensions.brightness-control-using-ddcutil
|
||||||
spotify
|
spotify
|
||||||
ghostty
|
ghostty
|
||||||
fractal
|
fractal
|
||||||
|
|
Loading…
Add table
Reference in a new issue