Compare commits

..

1 Commits

Author SHA1 Message Date
15d45896a5 feat: hyprpaper separate config with auto wallpaper 2025-11-02 13:38:02 +01:00
2 changed files with 7 additions and 35 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,6 +61,7 @@ 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,36 +6,10 @@
}: }:
with lib; let with lib; let
emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages ( emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacs).emacsWithPackages (
epkgs: epkgs: [
with epkgs; [ epkgs.mu4e
mu4e epkgs.pdf-tools
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 {
@@ -51,10 +25,7 @@ in {
}; };
config = { config = {
home.packages = with pkgs; [ home.packages = [pkgs.emacs-all-the-icons-fonts];
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;