From 1246c89369e5c4bc3c09bc949d52dc24f67df131 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sun, 20 Oct 2024 10:29:33 +0200 Subject: [PATCH] email: Add afew tagger for notmuch --- flake.lock | 42 +++++++++++++++++----------------- flake.nix | 4 ++-- home/alex/cli.nix | 2 +- home/alex/modules/email.nix | 1 + hosts/dregil/configuration.nix | 3 --- 5 files changed, 25 insertions(+), 27 deletions(-) diff --git a/flake.lock b/flake.lock index 4f74b05..14755c7 100644 --- a/flake.lock +++ b/flake.lock @@ -68,11 +68,11 @@ ] }, "locked": { - "lastModified": 1722217815, - "narHash": "sha256-8r5AJ3n8WEDw3rsZLALSuFQ5kJyWOcssNZvPxYLr2yc=", + "lastModified": 1730135292, + "narHash": "sha256-QUU1P8x42b8moaUsxJkamfcRXdyNjIq79ZThzT3CVUA=", "owner": "nix-community", "repo": "disko", - "rev": "1e6f8a7b4634fc051cc9361959bf414fcf17e094", + "rev": "0e55423bf8c241cf18676a8b8424c7eadd170ffc", "type": "github" }, "original": { @@ -90,11 +90,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1728148288, - "narHash": "sha256-YYmMKw6Gk0fVAjvAxWQNjecear2JfZkrXnKKBTH8YNI=", + "lastModified": 1730132590, + "narHash": "sha256-5XCF16oq/NBmx/2cJ8mK1kv+kOKNULcNWP0MsgMraq8=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "125316ab852d4d9abd771be51471b52ead9aa0c8", + "rev": "64c6af10947cd17201570726eba26046e95ed58b", "type": "github" }, "original": { @@ -202,11 +202,11 @@ ] }, "locked": { - "lastModified": 1728041527, - "narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=", + "lastModified": 1730016908, + "narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=", "owner": "nix-community", "repo": "home-manager", - "rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e", + "rev": "e83414058edd339148dc142a8437edb9450574c8", "type": "github" }, "original": { @@ -287,11 +287,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1728018373, - "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=", + "lastModified": 1729880355, + "narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bc947f541ae55e999ffdb4013441347d83b00feb", + "rev": "18536bf04cd71abd345f9579158841376fdd0c5a", "type": "github" }, "original": { @@ -350,11 +350,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1728067476, - "narHash": "sha256-/uJcVXuBt+VFCPQIX+4YnYrHaubJSx4HoNsJVNRgANM=", + "lastModified": 1729973466, + "narHash": "sha256-knnVBGfTCZlQgxY1SgH0vn2OyehH9ykfF8geZgS95bk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6e6b3dd395c3b1eb9be9f2d096383a8d05add030", + "rev": "cd3e8833d70618c4eea8df06f95b364b016d4950", "type": "github" }, "original": { @@ -453,11 +453,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1721042469, - "narHash": "sha256-6FPUl7HVtvRHCCBQne7Ylp4p+dpP3P/OYuzjztZ4s70=", + "lastModified": 1729104314, + "narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "f451c19376071a90d8c58ab1a953c6e9840527fd", + "rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6", "type": "github" }, "original": { @@ -487,11 +487,11 @@ "nixpkgs-24_05": "nixpkgs-24_05" }, "locked": { - "lastModified": 1721121314, - "narHash": "sha256-zwc7YXga/1ppaZMWFreZykXtFwBgXodxUZiUx969r+g=", + "lastModified": 1722877200, + "narHash": "sha256-qgKDNJXs+od+1UbRy62uk7dYal3h98I4WojfIqMoGcg=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "059b50b2e729729ea00c6831124d3837c494f3d5", + "rev": "af7d3bf5daeba3fc28089b015c0dd43f06b176f2", "type": "gitlab" }, "original": { diff --git a/flake.nix b/flake.nix index 8adabfb..b83f2a4 100644 --- a/flake.nix +++ b/flake.nix @@ -62,7 +62,7 @@ tools.fourmolu = pkgs.haskellPackages.fourmolu; tools.nixfmt = pkgs.nixfmt-rfc-style; hooks = { - nixfmt.enable = true; + nixfmt-rfc-style.enable = true; fourmolu.enable = true; hpack.enable = true; hlint.enable = true; @@ -139,7 +139,7 @@ withHoogle = true; - nativeBuildInputs = with pkgs; [ + buildInputs = with pkgs; [ haskellPackages.haskell-language-server haskellPackages.fourmolu haskellPackages.hspec-discover diff --git a/home/alex/cli.nix b/home/alex/cli.nix index 9bde21f..ea5edd7 100644 --- a/home/alex/cli.nix +++ b/home/alex/cli.nix @@ -137,7 +137,7 @@ in # better ls with icons and stuff, maybe also try lsd ${myEza} = { enable = true; - icons = true; + icons = "auto"; }; starship = { diff --git a/home/alex/modules/email.nix b/home/alex/modules/email.nix index 8523b37..95e8a09 100644 --- a/home/alex/modules/email.nix +++ b/home/alex/modules/email.nix @@ -28,6 +28,7 @@ let }; in { + programs.afew.enable = true; programs.mbsync.enable = true; programs.msmtp.enable = true; programs.notmuch = { diff --git a/hosts/dregil/configuration.nix b/hosts/dregil/configuration.nix index 36a9e69..7d6bc7f 100644 --- a/hosts/dregil/configuration.nix +++ b/hosts/dregil/configuration.nix @@ -124,9 +124,6 @@ in services.blueman.enable = true; - services.pipewire.enable = true; - services.pipewire.pulse.enable = true; - # Open ports in the firewall # 22000, 21027 syncthing discovery and connectivity networking.firewall.allowedTCPPorts = [