From 5812d7b29e056649d2b8761d3b5eae9f22a853ef Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Tue, 25 Jun 2024 20:59:00 -0300 Subject: update stuff --- flake.lock | 56 ++++++++++++++++++++++++------------------------ modules/emacs/README.org | 13 ++++++----- users/leonardo.nix | 2 +- 3 files changed, 35 insertions(+), 36 deletions(-) diff --git a/flake.lock b/flake.lock index 2ef14c1..5e2c6fd 100644 --- a/flake.lock +++ b/flake.lock @@ -12,11 +12,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1716561646, - "narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=", + "lastModified": 1718371084, + "narHash": "sha256-abpBi61mg0g+lFFU0zY4C6oP6fBwPzbHPKBGw676xsA=", "owner": "ryantm", "repo": "agenix", - "rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9", + "rev": "3a56735779db467538fb2e577eda28a9daacaca6", "type": "github" }, "original": { @@ -56,11 +56,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1718183320, - "narHash": "sha256-L0b6hyf9EWeWKhmUwTQvbLtBtLBblyYJ3llOTsLIr0s=", + "lastModified": 1719303695, + "narHash": "sha256-SqJTGKtJEzkQdHEUWeMHwQ5vyAg4wE1kRbjTRjzfAUI=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "7aa1c14402a09fc043110d6477aa5cc90e60e409", + "rev": "fd904f28fb1d3d3a3d87db312fac97cb4a146db4", "type": "github" }, "original": { @@ -72,11 +72,11 @@ "firefox-gnome-theme": { "flake": false, "locked": { - "lastModified": 1717963159, - "narHash": "sha256-IkplGeSrZUdzxAOdXtOTecvyAiVSzGO45/xjDeof6QE=", + "lastModified": 1719338677, + "narHash": "sha256-OQ5dFaPS6RZT/Du+9Xih7cA4WGBV3cgkdlc+Bbtg84U=", "owner": "rafaelmardojai", "repo": "firefox-gnome-theme", - "rev": "16e2c33e3c817208811e389fc716d6c4aabf7923", + "rev": "3c1143946b22b74057b1ab2c249258fcd70c7d48", "type": "github" }, "original": { @@ -142,11 +142,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1718243258, - "narHash": "sha256-abBpj2VU8p6qlRzTU8o22q68MmOaZ4v8zZ4UlYl5YRU=", + "lastModified": 1719180626, + "narHash": "sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM+ZWkt0I=", "owner": "nix-community", "repo": "home-manager", - "rev": "8d5e27b4807d25308dfe369d5a923d87e7dbfda3", + "rev": "6b1f90a8ff92e81638ae6eb48cd62349c3e387bb", "type": "github" }, "original": { @@ -162,11 +162,11 @@ "nixpkgs_old": "nixpkgs_old" }, "locked": { - "lastModified": 1715884511, - "narHash": "sha256-50vXBrYqJGsSSrTH6jY8vmcZo2ImRJ2vrWG6690fHwc=", + "lastModified": 1719341626, + "narHash": "sha256-j+8CRlfDcwmB82idpkurh5LPBg9MlLIQ9+hJHN6Z25o=", "ref": "2024-05-06-hosts-in-nix", - "rev": "30a55b196b9b22af7dc72dc7479cbda68513acc9", - "revCount": 62180, + "rev": "5ebea421cc7d143c2decc905f60f1f4876ec0397", + "revCount": 62183, "type": "git", "url": "ssh://git@gitlab.com/mixrank/mixrank" }, @@ -178,11 +178,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1718265846, - "narHash": "sha256-h4MnTID6ciFxtTvtl+ibXMKaG6iLMezCtUvKIfFG7r0=", + "lastModified": 1719322773, + "narHash": "sha256-BqPxtFwXrpJQDh65NOIHX99pz2rtIMshG9Mt2xnnc5c=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "d75003136c0fc94ee60e51806c2801ff572d06a6", + "rev": "caabc425565bbd5c8640630b0bf6974961a49242", "type": "github" }, "original": { @@ -193,11 +193,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1717786204, - "narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=", + "lastModified": 1718895438, + "narHash": "sha256-k3JqJrkdoYwE3fHE6xGDY676AYmyh4U2Zw+0Bwe5DLU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "051f920625ab5aabe37c920346e3e69d7d34400e", + "rev": "d603719ec6e294f034936c0d0dc06f689d91b6c3", "type": "github" }, "original": { @@ -209,11 +209,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1718060059, - "narHash": "sha256-9XKFni8VMXo81RTq9XygCyaO3I/7UKpwIlM/yn0MdcM=", + "lastModified": 1719122173, + "narHash": "sha256-aEMsNUtqSPwn6l+LIZ/rX++nCgun3E9M3uSZs6Rwb7w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a3c8d64ba846725f040582b2d3b875466d2115bd", + "rev": "906320ae02f769d13a646eb3605a9821df0d6ea2", "type": "github" }, "original": { @@ -225,11 +225,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1718318537, - "narHash": "sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY=", + "lastModified": 1719075281, + "narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e9ee548d90ff586a6471b4ae80ae9cfcbceb3420", + "rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af", "type": "github" }, "original": { diff --git a/modules/emacs/README.org b/modules/emacs/README.org index 685c15f..4e14603 100644 --- a/modules/emacs/README.org +++ b/modules/emacs/README.org @@ -33,10 +33,10 @@ You can also use it as a ~nixosModule~, in order to add additional packages like ;; (use-package kanagawa-theme) (load-theme 'modus-operandi-tinted t) -(set-face-attribute 'default nil - :family "Iosevka Nerd Font" - :width 'normal - :weight 'normal) +(add-hook 'after-make-frame-functions + (lambda (frame) + (select-frame frame) + (set-frame-font "Iosevka Nerd Font 12" nil t))) #+end_src ** Backups @@ -54,9 +54,8 @@ You can also use it as a ~nixosModule~, in order to add additional packages like ** Searching #+begin_src emacs-lisp :tangle yes (use-package rg) - -(setq isearch-lazy-count t) -(setq isearch-lazy-highlight t) +(use-package ctrlf + :config (ctrlf-mode +1)) #+end_src ** Age encryption Configuration to automagically open age files, and to encrypt them correctly to all my machines. diff --git a/users/leonardo.nix b/users/leonardo.nix index 415f298..e480759 100644 --- a/users/leonardo.nix +++ b/users/leonardo.nix @@ -34,7 +34,7 @@ in programs.bash = { vteIntegration = true; enableLsColors = true; - enableCompletion = true; + completion.enable = true; promptInit = '' vterm_printf() { -- cgit v1.2.3