diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/default-user.nix | 7 | ||||
-rw-r--r-- | modules/emacs/README.org | 14 |
2 files changed, 15 insertions, 6 deletions
diff --git a/modules/default-user.nix b/modules/default-user.nix index 189c354..53cef7d 100644 --- a/modules/default-user.nix +++ b/modules/default-user.nix @@ -35,8 +35,11 @@ in { }; in { user-pass = with-perms "user-pass"; - user-ssh-key = (with-perms "user-ssh-key") // { + user-ssh-key = { + file = ../secrets/user-ssh-key.age; path = "/home/leonardo/.ssh/id_ed25519"; + owner = "leonardo"; + group = "users"; }; } // (optionalAttrs cfg.mu.enable (let mails = ["work-mail" "personal-mail" "university-mail"]; @@ -62,8 +65,10 @@ in { imports = [ (import ./gnome/gnome-config.nix config.santi-modules) ]; home = { stateVersion = "23.05"; + homeDirectory = "/home/leonardo"; file.".ssh/id_ed25519.pub".source = ../secrets/user-ssh-key.pub; file.".mozilla/firefox/leonardo/chrome/firefox-gnome-theme" = mkIf cfg.firefox.enable { source = inputs.firefox-gnome-theme; }; + packages = lib.optionals cfg.desktop-environment.enable (with pkgs; [ discord slack diff --git a/modules/emacs/README.org b/modules/emacs/README.org index 81c0775..432d498 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -74,14 +74,18 @@ Configuration to automagically open age files, and to encrypt them correctly to :config (age-file-enable)) #+end_src -** All the Icons +** Nerd icons #+begin_src emacs-lisp :tangle yes -(use-package all-the-icons) +(use-package nerd-icons + :custom + (nerd-icons-font-family "Iosevka Nerd Font")) -(use-package all-the-icons-completion - :after all-the-icons +(use-package nerd-icons-completion + :after nerd-icons :after marginalia - :hook (marginalia-mode . all-the-icons-completion-mode)) + :hook (marginalia-mode . nerd-icons-completion-marginal) + :config + (nerd-icons-completion-mode)) #+end_src ** Direnv To integrate with nix shells. |