summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock4
-rw-r--r--modules/default-user.nix7
-rw-r--r--modules/emacs/README.org14
-rw-r--r--secrets/authinfo.agebin998 -> 998 bytes
-rw-r--r--secrets/cloudflare.age30
-rw-r--r--secrets/personal-mail.age24
-rw-r--r--secrets/university-mail.agebin671 -> 671 bytes
-rw-r--r--secrets/user-pass.age24
-rw-r--r--secrets/user-ssh-key.agebin1063 -> 1063 bytes
-rw-r--r--secrets/work-mail.age24
10 files changed, 66 insertions, 61 deletions
diff --git a/flake.lock b/flake.lock
index a6138d5..395d35d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -143,8 +143,8 @@
"nixpkgs_old": "nixpkgs_old"
},
"locked": {
- "lastModified": 1725915493,
- "narHash": "sha256-uT7vO4LyEn2D0PCkQARkJd1T/tR+EfYnFusGK2UxrL4=",
+ "lastModified": 1726261422,
+ "narHash": "sha256-6HfQRP2enWknskI102YNEgMBeBdGDs16cPs7Gf52+7k=",
"path": "/home/leonardo/mx/mixrank",
"type": "path"
},
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.
diff --git a/secrets/authinfo.age b/secrets/authinfo.age
index 1460551..593748c 100644
--- a/secrets/authinfo.age
+++ b/secrets/authinfo.age
Binary files differ
diff --git a/secrets/cloudflare.age b/secrets/cloudflare.age
index 1ffafa6..bd782b1 100644
--- a/secrets/cloudflare.age
+++ b/secrets/cloudflare.age
@@ -1,17 +1,13 @@
------BEGIN AGE ENCRYPTED FILE-----
-YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDZiYmg0ZyBseGds
-WnpmL2pORWRqYjBKc1A4cFhHWG9TWDVUS0UyVk00dnRtb3pMUTI4Ckp0dGdUNmxs
-TEhsdzhySms2SkpEaENpbUFxL0dTaURkMkJGQ3hrNlBBV3MKLT4gc3NoLWVkMjU1
-MTkgSE1OV253IC9lRkFpZFdISUd0Sm1GMkJPanpKODBwOU40eXovRmpVb0lLNzRE
-QWxVeHcKcC9Od01vY0JDckpVK0gza2hBdjY4TE50SkZYSHhYSm5TMkZPMkd3bDQ1
-OAotPiBzc2gtZWQyNTUxOSBBY2VnWUEgcW5JS1F5Q3p1TG1neDNxVHh0YlBWU2ds
-Z2lVOUs3WTlUOTd6djk3dDMwcwplR1FYdVpucFZ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sLR2BA
+/yrem21FHKRlJ9YK7LyPZUN8CwwK0S+yboq9fKnLOH8
+--- rtvW3nFkeC5Xgruk1li/6J2YY/Y//iGtwcbVAuym1qY
+�]����d�Q!� ��0C��?�s�/!G��� 1��x_qr��0D|K>�dN�[=�Hw3�PV5�ё�;5���t� 5o1_<9�E-��9= \ No newline at end of file
diff --git a/secrets/personal-mail.age b/secrets/personal-mail.age
index dfe63be..dd7c902 100644
--- a/secrets/personal-mail.age
+++ b/secrets/personal-mail.age
@@ -1,13 +1,13 @@
age-encryption.org/v1
--> ssh-ed25519 6bbh4g s8GZCqmVMXba8spKaee82ejblHCiwsaTjcA7BvuMkFU
-56+jfZexU8kVF6vWGAhB+QMIj0XGlaqSAXaMmSkdP9s
--> ssh-ed25519 VsDKrw 3ISxM0gMyKmKv5IyBqwFBxeActacKXvsac3VSry7LTM
-2Slf8frYlBTAOBtImXohhqgIzOyXnzlIZ6Qyzm70hWk
--> ssh-ed25519 6rQlWQ TaVwF7vF2Sx4S66/8iVVWoXhe5yb2hXfz2NyUKNQaQg
-4CuXqHzJbOElIdtOyjUHo+1EVGQ+9w6X/V3ot2ZF8SU
--> ssh-ed25519 AcegYA ucnWOc1As3Kvxip8+7ijJLlAK5Zr3FV6fs2Yh9KBHww
-8rfuA+kGpssLVbKZpNDqc7PFqAYXYel2CTLJtEPz63o
--> ssh-ed25519 HMNWnw sTEofSsU4BnHqr7lzdaXrxGAFolqOcutfHwPHnO143M
-Owpm6/83ltdpUea6ioTfStKxCvR45xT1oUHviIyhY8E
---- sxfpfsa2pN+oyyJ1PLaP0/nZplTzJOPNP//GRLnDj4s
-�E)k���)���4M��E@�|��)�=�-�::IN֗^T�-�~D���� \ No newline at end of file
+-> ssh-ed25519 6bbh4g qUOZhZZpNCq2iYhakxgV8q4SleLFIuuCM1mdbTcw3w0
+jHSe3fCAGcbw686X7rkBZvFsMv3wMWDbEDR5ZBwI2NI
+-> ssh-ed25519 VsDKrw rIhzasqKTn3gEnzyT3x7BgJlZvZ3pWl8u9FoXZ1rTCE
+jd1nxsJ8b1Qg9GtdO/QE/OUifRVQHjbpWj26GxjIlH4
+-> ssh-ed25519 6rQlWQ Mv33j3FZ4EtFi4yAsxQ/gdLTZRF4TO6oQq1OSlS7PQM
+f5Hbq4gmzM7CZ7nCNXLN7f94FjRjqzgKO7VMdOZoujQ
+-> ssh-ed25519 AcegYA 48fAlu2ZnHLDzsH3lySaLl+Jk+l/GalaUpRHj3xfkQo
+UPVeo1BuluPfhC5QiX27eS27yk9xSUPj5L4rZcjwAqM
+-> ssh-ed25519 HMNWnw IMRXllJu0SPeRZuMiQtHxSTW1vKNFbG+4WaFQq7SAiY
+EBGBCWpa/QEAbqapEndKkFZr+DnCYhqGWArSuGZNyXc
+--- VPwhMxAKHgCBLvHAKAB8HvG9Cf83ZdCOjGrSxIbNvJI
+?��of�i��uU��I����H/M ��y'���bP�rћ�QQ[w@�#[z7t�B \ No newline at end of file
diff --git a/secrets/university-mail.age b/secrets/university-mail.age
index c08a6e6..da3e7dc 100644
--- a/secrets/university-mail.age
+++ b/secrets/university-mail.age
Binary files differ
diff --git a/secrets/user-pass.age b/secrets/user-pass.age
index 598c27f..c27ab4b 100644
--- a/secrets/user-pass.age
+++ b/secrets/user-pass.age
@@ -1,13 +1,13 @@
age-encryption.org/v1
--> ssh-ed25519 6bbh4g lDvj7yboKJLG3qB74bFw09qTDCzu5KGUhzVLjZSDYxc
-7szgniathBhlgJwnZeb1jehVGI4Ku0mv6UvGNLCaWZE
--> ssh-ed25519 VsDKrw SyYw0WqRmwYZbYVAAVCuLnWF6jiKy8ceSXTwOn1ubnY
-NQCBXkDtXtnPOSNXH7fG+CvJ72Fd0nMzEqi+e9HOE1s
--> ssh-ed25519 6rQlWQ EgxldGA6qyuaOkI1FqPIEyt0svORWlU1amLpbsYiw38
-nPzQ4d2Kg+THRciYy3jMJchtyIvIk5fUH6gyXDuwA/w
--> ssh-ed25519 AcegYA tyBWRfwPeRGSKo7E//v9J9z/ElrtVQNvYZgGiPy7RyM
-u8cZaQb3yz74n+VOqJUGFGzdwPvKPxzcUL1sL20S6j0
--> ssh-ed25519 HMNWnw GMFuHhtXa1EF5hvfMZ39uLdimyjF7YLngL8+3//RxQM
-3cZLt2thg2Skb88ZzqEat8os3d2FKuLrdHgFfWoU0Cc
---- 5rq6g0jqUfdGLPvmnS/GvYC7Vh+IyOKXQGYVo1RigcQ
-��d�X\?��h�L�s���j��v�R��[T�2N8��̶X}�ka�QG�@�5��R��7�/����% ��!B�.�M���g�Z��Z���� mֱI�7�JK \ No newline at end of file
+-> ssh-ed25519 6bbh4g z/YMViqgxz1/NYV228nHM2HW3odXOtpmqKy4/ks3yXM
+4hGfyIk+au5Bo21rbWNsBSaZGk+Md4KHOa5UoLhVNg8
+-> ssh-ed25519 VsDKrw rdXtIquWcjAIi2ZxQEXOEv0TpM4XCgAhyKRnfcgEc1g
+uvjmcphrVtYAP/Aot1UJ06+vtbXPLBDBqnc7XNxbWJc
+-> ssh-ed25519 6rQlWQ 4R+jbKng1KPbjdAXl/zv5ALCJKwkcfRj0ihYcPPXiwQ
+8d9jB2uEILcpSHL50jR/+HlmqQqM4Rbu1QtkzkI7Qdw
+-> ssh-ed25519 AcegYA QCMoBERrzoEL0cGtBHuL5+/FzRkDlY5GsuYK4X75FwI
+mr2YHmTXI/wyxxlyl3AVLm784GbGoDCfGVsYvjNR958
+-> ssh-ed25519 HMNWnw gO78btRP592os97Prgmu2Q5ht5xUpu66GahWHR/lxCU
+C1kwyFm8LX4MhU2o8RYr9Y9ef6uaQxiFhUVgxXIoKzA
+--- DgIKmTzq2nknrZF/LFKm13OcGJHAh6KM8TcY1t+nT28
+'qN��ɿ�l?���1��G,�t�]6�,&z,�zʱ5>� QF����> ��G=�w�Z#ɳ1ҳ�m%�q~5:E����<( 8�����:Tv��t�S��' \ No newline at end of file
diff --git a/secrets/user-ssh-key.age b/secrets/user-ssh-key.age
index 877e687..430ba67 100644
--- a/secrets/user-ssh-key.age
+++ b/secrets/user-ssh-key.age
Binary files differ
diff --git a/secrets/work-mail.age b/secrets/work-mail.age
index 3005d73..bb93cbf 100644
--- a/secrets/work-mail.age
+++ b/secrets/work-mail.age
@@ -1,13 +1,13 @@
age-encryption.org/v1
--> ssh-ed25519 6bbh4g B58pVNMnxei45dbeGx/Wx3RQm/mra8y0tikUNmSuMUw
-NiuDbda8SyCmDDrDxjbTp8OPZRvyF2yKUxO35SOyrns
--> ssh-ed25519 VsDKrw qL8t146DKRBddDPIeI7Vo/uDdmJ6+94xReypJLQiGTk
-uJvwTxbGg2eas9J7dkjTtBsL8rng6/qdPXJvUgbNycs
--> ssh-ed25519 6rQlWQ hmwryLXQl/5/kjLiSNP9nIUSanaFWBglgMyDSJ6nPx8
-YzAdR/5gkcXoOHeMkJiiOTC+xRj69V6kexjFQKHoDlA
--> ssh-ed25519 AcegYA EW0jfguCGqYWMu4D8dQ9I6bujOhsOBYlxn/rq+KWsyQ
-YRcZCcQYtmQa8ZH9aoiM2dKJYHQZM7M5VHt5T/ptGnI
--> ssh-ed25519 HMNWnw 7KuRwRQXKXyH9Cyi+SRoUqFRHBWL8VPB2wlgzTBuryQ
-AekDJJeFSETMDguHAOKShuBJxNi4/S6zKp0BC+Z9A6E
---- hC+KoA8D5HmrgV8QhediAb6XNoAXgOg2wijsb7WrtmQ
-�ò�t���]���M�@�gW<��&��Yl#k�Ug�D�,���ʆI�1W�+�� \ No newline at end of file
+-> ssh-ed25519 6bbh4g BjAJ14bsqx+PGWHUuIa7/pmYXDkaourDi2DrcpsoenU
+27dJI3e7WIrxwGjzzqGppPRQ4dTv053y41iE8B1gE5M
+-> ssh-ed25519 VsDKrw STf/cormScWJhpY9xTFHoqsJkzJNeRWKl/8e9OTBu1U
+/jCzy4tBVUo4uKM4MtYJf71Bu6z7V6gl/AcIyjotmQw
+-> ssh-ed25519 6rQlWQ /WhXene9LQsZRel0pTQ8y5c19AlTjNf4rixla5+q6gw
+2vA3fWYmCu7hgJm8voa/75TfPlnTPse8LJJzmx+k8vg
+-> ssh-ed25519 AcegYA J+lq3LHH20BPBHjhx3rAhjZQH9HpbXnkbaLZhP0aklc
+dWGtXi6/3BVgZtDjpSsaygurw+AwublDdTANUbn6MHk
+-> ssh-ed25519 HMNWnw zdIN9R+Sb+7bzRVXH7Z0zIQZSZXSjckwdla0nbuZ3lk
+s7G5cvLcD1DHUf4mgP2c8ssHhcRnsWcMb0XbALBPFx4
+--- 79a8NYxW25e7CMtjY0GjaUD46sZRcp+eScDErUxbN50
+pR릈���ȍq�}Mm�iq������]�m{���Y/�Gڗ��O+ \ No newline at end of file