101
flake.lock
generated
101
flake.lock
generated
@@ -142,28 +142,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fenix_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"neverest",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"rust-analyzer-src": "rust-analyzer-src_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732405626,
|
|
||||||
"narHash": "sha256-uDbQrdOyqa2679kKPzoztMxesOV7DG2+FuX/TZdpxD0=",
|
|
||||||
"owner": "soywod",
|
|
||||||
"repo": "fenix",
|
|
||||||
"rev": "c7af381484169a78fb79a11652321ae80b0f92a6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "soywod",
|
|
||||||
"repo": "fenix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -397,26 +375,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"neverest": {
|
|
||||||
"inputs": {
|
|
||||||
"fenix": "fenix_2",
|
|
||||||
"nixpkgs": "nixpkgs_4",
|
|
||||||
"pimalaya": "pimalaya_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1734595002,
|
|
||||||
"narHash": "sha256-MXQDy5b/ooSkISEVM9KxHeqkkhPimZJtX3j9jqTP5aU=",
|
|
||||||
"owner": "pimalaya",
|
|
||||||
"repo": "neverest",
|
|
||||||
"rev": "cc5f5214d3bea064ed059116ac81e40a803faa7e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "pimalaya",
|
|
||||||
"repo": "neverest",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-github-actions": {
|
"nix-github-actions": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -520,21 +478,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732539489,
|
|
||||||
"narHash": "sha256-EPstM4aUuClDkFdoyno1CSRZIfGdCfZKw/XzMlQB0NY=",
|
|
||||||
"owner": "soywod",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "87b010196489f96e4acdcc804ed3d096476e46ad",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "soywod",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_5": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772370856,
|
"lastModified": 1772370856,
|
||||||
"narHash": "sha256-OXf9tB+s1EPCzIBR4eIQTm1dbbfVgjPNEGChgwEvvIU=",
|
"narHash": "sha256-OXf9tB+s1EPCzIBR4eIQTm1dbbfVgjPNEGChgwEvvIU=",
|
||||||
@@ -550,7 +493,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770380644,
|
"lastModified": 1770380644,
|
||||||
"narHash": "sha256-P7dWMHRUWG5m4G+06jDyThXO7kwSk46C1kgjEWcybkE=",
|
"narHash": "sha256-P7dWMHRUWG5m4G+06jDyThXO7kwSk46C1kgjEWcybkE=",
|
||||||
@@ -566,7 +509,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765934234,
|
"lastModified": 1765934234,
|
||||||
"narHash": "sha256-pJjWUzNnjbIAMIc5gRFUuKCDQ9S1cuh3b2hKgA7Mc4A=",
|
"narHash": "sha256-pJjWUzNnjbIAMIc5gRFUuKCDQ9S1cuh3b2hKgA7Mc4A=",
|
||||||
@@ -585,7 +528,7 @@
|
|||||||
"nixvim": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"systems": "systems_3"
|
"systems": "systems_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -634,22 +577,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pimalaya_2": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732869386,
|
|
||||||
"narHash": "sha256-83tDRVfSBVZgIp6WOb6r/T6cHfP7lNsK1MUTdkGMi14=",
|
|
||||||
"owner": "pimalaya",
|
|
||||||
"repo": "nix",
|
|
||||||
"rev": "be23e0deeb014c6be5232322b892c9bee25dee77",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "pimalaya",
|
|
||||||
"repo": "nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"colmena": "colmena",
|
"colmena": "colmena",
|
||||||
@@ -663,9 +590,8 @@
|
|||||||
"jj-ryu": "jj-ryu",
|
"jj-ryu": "jj-ryu",
|
||||||
"jj-starship": "jj-starship",
|
"jj-starship": "jj-starship",
|
||||||
"llm-agents": "llm-agents",
|
"llm-agents": "llm-agents",
|
||||||
"neverest": "neverest",
|
|
||||||
"nix-homebrew": "nix-homebrew",
|
"nix-homebrew": "nix-homebrew",
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"overseer": "overseer",
|
"overseer": "overseer",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
@@ -689,23 +615,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer-src_2": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1732050317,
|
|
||||||
"narHash": "sha256-G5LUEOC4kvB/Xbkglv0Noi04HnCfryur7dVjzlHkgpI=",
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"rev": "c0bbbb3e5d7d1d1d60308c8270bfd5b250032bb4",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"ref": "nightly",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -848,7 +757,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_3",
|
||||||
"nixpkgs": "nixpkgs_7",
|
"nixpkgs": "nixpkgs_6",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
himalaya.url = "github:pimalaya/himalaya";
|
himalaya.url = "github:pimalaya/himalaya";
|
||||||
neverest.url = "github:pimalaya/neverest";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ {flake-parts, ...}:
|
outputs = inputs @ {flake-parts, ...}:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
../../profiles/fzf.nix
|
../../profiles/fzf.nix
|
||||||
../../profiles/git.nix
|
../../profiles/git.nix
|
||||||
../../profiles/himalaya.nix
|
../../profiles/himalaya.nix
|
||||||
../../profiles/neverest.nix
|
../../profiles/mbsync.nix
|
||||||
../../profiles/home.nix
|
../../profiles/home.nix
|
||||||
../../profiles/jjui.nix
|
../../profiles/jjui.nix
|
||||||
../../profiles/jujutsu.nix
|
../../profiles/jujutsu.nix
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
{inputs}: final: prev: {
|
|
||||||
neverest = inputs.neverest.packages.${prev.stdenv.hostPlatform.system}.default;
|
|
||||||
}
|
|
||||||
20
profiles/mbsync.nix
Normal file
20
profiles/mbsync.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.mbsync.enable = true;
|
||||||
|
services.mbsync = {
|
||||||
|
enable = true;
|
||||||
|
frequency = "*:0/5";
|
||||||
|
};
|
||||||
|
|
||||||
|
accounts.email.accounts."christoph@schmatzler.com" = {
|
||||||
|
mbsync = {
|
||||||
|
enable = true;
|
||||||
|
create = "both";
|
||||||
|
expunge = "both";
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "imap.mail.me.com";
|
||||||
|
port = 993;
|
||||||
|
tls.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
tomlFormat = pkgs.formats.toml {};
|
|
||||||
account = config.accounts.email.accounts."christoph@schmatzler.com";
|
|
||||||
maildirPath = account.maildir.absPath;
|
|
||||||
in {
|
|
||||||
home.packages = [pkgs.neverest];
|
|
||||||
|
|
||||||
xdg.configFile."neverest/config.toml".source =
|
|
||||||
tomlFormat.generate "neverest-config.toml" {
|
|
||||||
accounts."christoph@schmatzler.com" = {
|
|
||||||
default = true;
|
|
||||||
|
|
||||||
folder.filters = "all";
|
|
||||||
|
|
||||||
left = {
|
|
||||||
backend = {
|
|
||||||
type = "maildir";
|
|
||||||
root-dir = maildirPath;
|
|
||||||
};
|
|
||||||
folder = {
|
|
||||||
aliases = {
|
|
||||||
inbox = "INBOX";
|
|
||||||
drafts = "Drafts";
|
|
||||||
sent = "Sent Messages";
|
|
||||||
trash = "Deleted Messages";
|
|
||||||
};
|
|
||||||
permissions = {
|
|
||||||
create = true;
|
|
||||||
delete = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
flag.permissions.update = true;
|
|
||||||
message.permissions = {
|
|
||||||
create = true;
|
|
||||||
delete = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
right = {
|
|
||||||
backend = {
|
|
||||||
type = "imap";
|
|
||||||
host = "imap.mail.me.com";
|
|
||||||
port = 993;
|
|
||||||
encryption = "tls";
|
|
||||||
login = account.userName;
|
|
||||||
auth = {
|
|
||||||
type = "password";
|
|
||||||
cmd = concatStringsSep " " account.passwordCommand;
|
|
||||||
};
|
|
||||||
clients-pool-size = 8;
|
|
||||||
};
|
|
||||||
folder = {
|
|
||||||
aliases = {
|
|
||||||
inbox = "INBOX";
|
|
||||||
drafts = "Drafts";
|
|
||||||
sent = "Sent Messages";
|
|
||||||
trash = "Deleted Messages";
|
|
||||||
};
|
|
||||||
permissions.delete = false;
|
|
||||||
};
|
|
||||||
message.permissions.delete = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user