about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/custom.el3
-rw-r--r--init/functions.el5
2 files changed, 8 insertions, 0 deletions
diff --git a/init/custom.el b/init/custom.el
index 16f9802dfd96..f9729f28e86c 100644
--- a/init/custom.el
+++ b/init/custom.el
@@ -15,6 +15,9 @@
  '(ns-alternate-modifier (quote none))
  '(ns-command-modifier (quote control))
  '(ns-right-command-modifier (quote meta))
+ '(package-selected-packages
+   (quote
+    (fish-mode nix-mode yaml-mode undo-tree terraform-mode switch-window smart-mode-line rust-mode rainbow-mode rainbow-delimiters puppet-mode pkgbuild-mode password-store paredit multi-term multiple-cursors markdown-mode+ magit iy-go-to-char idle-highlight-mode hi2 helm haskell-mode gruber-darker-theme go-mode flycheck erlang dockerfile-mode confluence browse-kill-ring ag ace-jump-mode)))
  '(require-final-newline (quote visit-save)))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
diff --git a/init/functions.el b/init/functions.el
index 29d07f81120a..a0f4d59456f5 100644
--- a/init/functions.el
+++ b/init/functions.el
@@ -111,4 +111,9 @@ Including indent-buffer, which should not be called automatically on save."
   (interactive)
   (eww "https://blog.fefe.de/"))
 
+;; Open this machines NixOS config
+(defun nix-config ()
+  (interactive)
+  (find-file "/etc/nixos/configuration.nix"))
+
 (provide 'functions)