Compare commits

..

2 Commits

2 changed files with 35 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
... ...
}: }:
with lib; let with lib; let
cfg = config.home.desktop.hyprpaper; cfg = config.home.desktop.hyprpaper;
in { in {
options.home.desktop.hyprpaper = { options.home.desktop.hyprpaper = {
enable = mkEnableOption "Enables Hyprpaper"; enable = mkEnableOption "Enables Hyprpaper";
@@ -61,7 +61,6 @@ in {
}; };
}; };
}; };
home.file.".config/hypr/hyprpaper-rotate.sh" = { home.file.".config/hypr/hyprpaper-rotate.sh" = {
text = '' text = ''
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@@ -6,10 +6,36 @@
}: }:
with lib; let with lib; let
emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages ( emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages (
epkgs: [ epkgs:
epkgs.mu4e with epkgs; [
epkgs.pdf-tools mu4e
] pdf-tools
tree-sitter
tree-sitter-langs
(treesit-grammars.with-grammars (grammar:
with grammar; [
tree-sitter-bash
tree-sitter-c
tree-sitter-cpp
tree-sitter-css
tree-sitter-dockerfile
tree-sitter-http
tree-sitter-javascript
tree-sitter-jsdoc
tree-sitter-json
tree-sitter-just
tree-sitter-markdown
tree-sitter-markdown-inline
tree-sitter-nix
tree-sitter-rust
tree-sitter-sql
tree-sitter-toml
tree-sitter-typescript
tree-sitter-typst
tree-sitter-vue
tree-sitter-yaml
]))
]
)); ));
cfg = config.home.dev.editors.emacs; cfg = config.home.dev.editors.emacs;
in { in {
@@ -25,7 +51,10 @@ in {
}; };
config = { config = {
home.packages = [pkgs.emacs-all-the-icons-fonts]; home.packages = with pkgs; [
emacs-all-the-icons-fonts
emacs-lsp-booster
];
programs.emacs = mkIf cfg.enable { programs.emacs = mkIf cfg.enable {
enable = true; enable = true;
inherit (cfg) package; inherit (cfg) package;