Compare commits
6 Commits
fb3a76796e
...
35d0196e66
Author | SHA1 | Date |
---|---|---|
coolneng | 35d0196e66 | |
coolneng | d470cbf4e6 | |
coolneng | 5cd3cb7b2b | |
coolneng | ac896b654a | |
coolneng | d254c1f2b4 | |
coolneng | 6d74d2be70 |
|
@ -179,8 +179,6 @@ with pkgs;
|
|||
./modules/monitoring.nix
|
||||
./overlays/nix-direnv.nix
|
||||
./overlays/openconnect-sso.nix
|
||||
./overlays/cyrus-sasl-oauth2.nix
|
||||
./overlays/isync-oauth2.nix
|
||||
./overlays/emacs-vterm.nix
|
||||
];
|
||||
|
||||
|
|
18
flake.lock
18
flake.lock
|
@ -101,11 +101,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1688874465,
|
||||
"narHash": "sha256-BUwl+tq40EjkufTZkqf3lWFzxOA/mYBTHz+p5uJtjaY=",
|
||||
"lastModified": 1691897365,
|
||||
"narHash": "sha256-jvWIU4ht3YAmF8TDVM2Ps2+Gf4MtNGLL1zEWQZdTrzU=",
|
||||
"owner": "Mic92",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "757114749d4613cf71f3748e780a1be8a67a5d3c",
|
||||
"rev": "f4d70d098f066a30c7087144063dca179495f7d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -116,11 +116,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1691368598,
|
||||
"narHash": "sha256-ia7li22keBBbj02tEdqjVeLtc7ZlSBuhUk+7XTUFr14=",
|
||||
"lastModified": 1692084312,
|
||||
"narHash": "sha256-Za++qKVK6ovjNL9poQZtLKRM/re663pxzbJ+9M4Pgwg=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5a8e9243812ba528000995b294292d3b5e120947",
|
||||
"rev": "8353344d3236d3fda429bb471c1ee008857d3b7c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -132,11 +132,11 @@
|
|||
"openconnect-sso": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1684767793,
|
||||
"narHash": "sha256-ZeF4n3M066SiMuoCmBTgbMVvWEWLJq4UwXjaS45eNiU=",
|
||||
"lastModified": 1689349020,
|
||||
"narHash": "sha256-2UVtOb0gD6wqEY/BeLZ2BCrR/qyb6M0mgf8CRNxflPA=",
|
||||
"owner": "vlaci",
|
||||
"repo": "openconnect-sso",
|
||||
"rev": "54263c09110125e6b78f2f46ea2ab32c6fbd49f8",
|
||||
"rev": "51e1eb727a93cf8b063157b7e9453dd21d3ba85f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
let isync-oauth2 = (isync.override { withCyrusSaslXoauth2 = true; });
|
||||
|
||||
in {
|
||||
# Upgrade Doom Emacs daily
|
||||
systemd.user.services.doom-upgrade = {
|
||||
description = "Upgrade Doom Emacs";
|
||||
|
|
|
@ -73,7 +73,7 @@ in {
|
|||
pdfgrep
|
||||
# Mail stack
|
||||
mu
|
||||
isync-oauth2
|
||||
(isync.override { withCyrusSaslXoauth2 = true; })
|
||||
msmtp
|
||||
# Media
|
||||
gimp
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
cyrus-sasl-xoauth2 = with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "cyrus-sasl-xoauth2";
|
||||
src = inputs.cyrus-sasl-xoauth2;
|
||||
nativeBuildInputs =
|
||||
[ autoreconfHook inputs.nixpkgs.legacyPackages."${system}".cyrus_sasl ];
|
||||
};
|
||||
|
||||
in {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
patched-cyrus-sasl-oauth2 = prev.cyrus_sasl.overrideAttrs (div: rec {
|
||||
postInstall = ''
|
||||
for lib in ${cyrus-sasl-xoauth2}/lib/sasl2/*; do
|
||||
ln -sf $lib $out/lib/sasl2/
|
||||
done
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
isync-oauth2 = isync.overrideAttrs (div: rec {
|
||||
buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue