Compare commits
2 commits
9c378b5364
...
7717113043
Author | SHA1 | Date | |
---|---|---|---|
7717113043 | |||
08d4bdc74f |
4 changed files with 24 additions and 10 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -7,11 +7,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715936816,
|
"lastModified": 1716169020,
|
||||||
"narHash": "sha256-Nh6KGZvG7w0FZynLiSQDBnzaqXNYUrv26NePcjQEa2k=",
|
"narHash": "sha256-hkeDsZJS+WkAqWJFzmOaNzK0qoa2afozX5HGD+uuxos=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "29f0f1b300f29d8a662666d96f04770c96d14617",
|
"rev": "aa8ac9a29c08356bd9285f66b18dd49631cc2227",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -194,11 +194,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715787315,
|
"lastModified": 1715961556,
|
||||||
"narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=",
|
"narHash": "sha256-+NpbZRCRisUHKQJZF3CT+xn14ZZQO+KjxIIanH3Pvn4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5",
|
"rev": "4a6b83b05df1a8bd7d99095ec4b4d271f2956b64",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -222,11 +222,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715668745,
|
"lastModified": 1716061101,
|
||||||
"narHash": "sha256-xp62OkRkbUDNUc6VSqH02jB0FbOS+MsfMb7wL1RJOfA=",
|
"narHash": "sha256-H0eCta7ahEgloGIwE/ihkyGstOGu+kQwAiHvwVoXaA0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9ddcaffecdf098822d944d4147dd8da30b4e6843",
|
"rev": "e7cc61784ddf51c81487637b3031a6dd2d6673a2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -47,10 +47,16 @@
|
||||||
hunspell
|
hunspell
|
||||||
python3
|
python3
|
||||||
imagemagick
|
imagemagick
|
||||||
|
ghostscript_headless
|
||||||
|
mupdf-headless
|
||||||
|
poppler_utils
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
mediainfo
|
mediainfo
|
||||||
unzipNLS
|
unzipNLS
|
||||||
nodejs_20
|
nodejs_20
|
||||||
|
|
||||||
|
pkgs.qadwaitadecorations
|
||||||
|
pkgs.kdePackages.qtwayland
|
||||||
]
|
]
|
||||||
++ (with hunspellDicts; [
|
++ (with hunspellDicts; [
|
||||||
en_US-large
|
en_US-large
|
||||||
|
|
8
init.el
8
init.el
|
@ -68,7 +68,7 @@
|
||||||
(defun ccr/reload-emacs ()
|
(defun ccr/reload-emacs ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(load-file "~/.config/emacs/init.el"))
|
(load-file "~/.config/emacs/init.el"))
|
||||||
(load-theme 'dracula 't)
|
(load-theme 'catppuccin 't)
|
||||||
(defun ccr/nixos-rebuild ()
|
(defun ccr/nixos-rebuild ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let* ((operation (completing-read "nixos-rebuild " '("switch" "boot" "test" "dry-activate")))
|
(let* ((operation (completing-read "nixos-rebuild " '("switch" "boot" "test" "dry-activate")))
|
||||||
|
@ -76,6 +76,12 @@
|
||||||
(async-shell-command (format "sudo nixos-rebuild --flake fleet %s --override-input ccrEmacs /home/ccr/.config/emacs -L" operation) buffer-name)))
|
(async-shell-command (format "sudo nixos-rebuild --flake fleet %s --override-input ccrEmacs /home/ccr/.config/emacs -L" operation) buffer-name)))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(use-package doc-view
|
||||||
|
:custom
|
||||||
|
(doc-view-scale-internally nil)
|
||||||
|
(doc-view-imenu-enabled 't)
|
||||||
|
(doc-view-continuous t))
|
||||||
|
|
||||||
(use-package tramp
|
(use-package tramp
|
||||||
:config
|
:config
|
||||||
;; TODO ugly `ccr' hardcoded, moreover this makes sense only when connecting to NixOS machines
|
;; TODO ugly `ccr' hardcoded, moreover this makes sense only when connecting to NixOS machines
|
||||||
|
|
|
@ -32,6 +32,8 @@ pkgs: epkgs: let
|
||||||
(with epkgs.melpaPackages; [
|
(with epkgs.melpaPackages; [
|
||||||
meow
|
meow
|
||||||
dracula-theme
|
dracula-theme
|
||||||
|
nord-theme
|
||||||
|
catppuccin-theme
|
||||||
modus-themes
|
modus-themes
|
||||||
# solaire-mode
|
# solaire-mode
|
||||||
nerd-icons
|
nerd-icons
|
||||||
|
|
Reference in a new issue