poopmacs
This commit is contained in:
parent
af755e7e07
commit
5e6a0dac07
8 changed files with 28 additions and 11 deletions
|
@ -32,7 +32,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
flake-parts,
|
flake-parts,
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
nixpak,
|
nixpak,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
lib = nixpkgs.lib.extend (final: prev:
|
lib = nixpkgs.lib.extend (final: prev:
|
||||||
import ./lib { lib = final; }
|
import ./lib { lib = final; }
|
||||||
);
|
);
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
picture-uri = if builtins.hasAttr "wallpaper" inputs.secrets.paths
|
picture-uri = if builtins.hasAttr "wallpaper" inputs.secrets.paths
|
||||||
then builtins.toString inputs.secrets.paths.wallpaper
|
then builtins.toString inputs.secrets.paths.wallpaper
|
||||||
else builtins.toString ../../../../../assets/wallpaper.jpg;
|
else builtins.toString ../../../../../assets/wallpaper.jpg;
|
||||||
in {
|
in {
|
||||||
gtk = {
|
gtk = {
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
backup-by-copying t))
|
backup-by-copying t))
|
||||||
|
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
|
(setq auto-save-default nil)
|
||||||
|
|
|
@ -11,10 +11,8 @@
|
||||||
'(font . "Go Mono Nerd Font-12"))
|
'(font . "Go Mono Nerd Font-12"))
|
||||||
|
|
||||||
;; Temporary theme. Replace later.
|
;; Temporary theme. Replace later.
|
||||||
(use-package doom-themes
|
(use-package darktooth-theme
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq doom-themes-enable-bold t
|
(load-theme 'darktooth-dark t)
|
||||||
doom-themes-enable-italic t)
|
(set-face-background 'hl-line "#262626")) ;; darktooth-background-0
|
||||||
(doom-themes-org-config)
|
|
||||||
(load-theme 'doom-sourcerer t))
|
|
||||||
|
|
15
modules/home/caem/development/emacs/emacs.d/formatting.el
Normal file
15
modules/home/caem/development/emacs/emacs.d/formatting.el
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
(setq-default indent-tabs-mode nil)
|
||||||
|
(setq-default tab-width 4)
|
||||||
|
(setq indent-line-function 'insert-tab)
|
||||||
|
(setq-default show-trailing-whitespace t)
|
||||||
|
|
||||||
|
(use-package indent-bars
|
||||||
|
:ensure t
|
||||||
|
:hook (prog-mode . indent-bars-mode)
|
||||||
|
:custom
|
||||||
|
(indent-bars-display-on-blank-lines t)
|
||||||
|
(indent-bars-pattern " . . . ")
|
||||||
|
(indent-bars-color '("#7C6F64" :blend 0.2))
|
||||||
|
(indent-bars-width-frac 0.15)
|
||||||
|
(indent-bars-color-by-depth nil)
|
||||||
|
(indent-bars-highlight-current-depth '(:color "#DD6F48" :pattern "." :blend 0.4)))
|
|
@ -23,5 +23,5 @@
|
||||||
(load (expand-file-name "./appearance.el" conf-home))
|
(load (expand-file-name "./appearance.el" conf-home))
|
||||||
(load (expand-file-name "./annoyances.el" conf-home))
|
(load (expand-file-name "./annoyances.el" conf-home))
|
||||||
(load (expand-file-name "./completions.el" conf-home))
|
(load (expand-file-name "./completions.el" conf-home))
|
||||||
(load (expand-file-name "./languages.el" conf-home))
|
(load (expand-file-name "./formatting.el" conf-home))
|
||||||
|
(mapc 'load (file-expand-wildcards (expand-file-name "./languages/*.el" conf-home)))
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
(mapc 'load (file-expand-wildcards (expand-file-name "./languages/*.el" conf-home)))
|
|
|
@ -5,3 +5,7 @@
|
||||||
(use-package pretty-sha-path
|
(use-package pretty-sha-path
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (global-pretty-sha-path-mode 1))
|
:config (global-pretty-sha-path-mode 1))
|
||||||
|
|
||||||
|
(add-hook 'nix-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(setq tab-width 2)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue