home-manager: go back to 23.11

This commit is contained in:
Benjamin Yule Bädorf 2024-03-27 15:22:24 +01:00
parent 72aa907ebd
commit e609bafe8b
Signed by: b12f
GPG key ID: 729956E1124F8F26
3 changed files with 16 additions and 6 deletions

View file

@ -256,16 +256,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1711133180, "lastModified": 1710888565,
"narHash": "sha256-WJOahf+6115+GMl3wUfURu8fszuNeJLv9qAWFQl3Vmo=", "narHash": "sha256-s9Hi4RHhc6yut4EcYD50sZWRDKsugBJHSbON8KFwoTw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1c2c5e4cabba4c43504ef0f8cc3f3dfa284e2dbb", "rev": "f33900124c23c4eca5831b9b5eb32ea5894375ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "master", "ref": "release-23.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }

View file

@ -12,7 +12,7 @@
flake-compat.url = "github:edolstra/flake-compat"; flake-compat.url = "github:edolstra/flake-compat";
flake-compat.flake = false; flake-compat.flake = false;
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";

View file

@ -53,6 +53,8 @@ with lib; let
extraConfig = '' extraConfig = ''
set pgp_default_key="${gpg.key}" set pgp_default_key="${gpg.key}"
unmailboxes *
mailboxes +INBOX \ mailboxes +INBOX \
+Drafts \ +Drafts \
+Sent \ +Sent \
@ -70,6 +72,14 @@ in {
home-manager.users."${psCfg.user.name}" = rec { home-manager.users."${psCfg.user.name}" = rec {
xdg.configFile."neomutt/base16.muttrc".source = ./.config/neomutt/base16.muttrc; xdg.configFile."neomutt/base16.muttrc".source = ./.config/neomutt/base16.muttrc;
xdg.configFile."neomutt/mailcap".source = ./.config/neomutt/mailcap; xdg.configFile."neomutt/mailcap".source = ./.config/neomutt/mailcap;
xdg.configFile."urlscan/config.json".text = builtins.toJSON {
keys = {
"G" = "bottom";
"gg" = "top";
"k" = "down";
"i" = "up";
};
};
accounts.email = { accounts.email = {
maildirBasePath = "/home/${psCfg.user.name}/Mail"; maildirBasePath = "/home/${psCfg.user.name}/Mail";
@ -190,7 +200,7 @@ in {
action = ''<sync-mailbox><enter-command>source ${configHome}/neomutt/${address}<enter><change-folder>!<enter>''; action = ''<sync-mailbox><enter-command>source ${configHome}/neomutt/${address}<enter><change-folder>!<enter>'';
}) (builtins.attrNames accounts.email.accounts); }) (builtins.attrNames accounts.email.accounts);
unmailboxes = true; # unmailboxes = true;
extraConfig = '' extraConfig = ''
source ${configHome}/neomutt/base16.muttrc source ${configHome}/neomutt/base16.muttrc