fix kbfs, mbsync, alacritty i3

This commit is contained in:
Noah Masur 2022-05-16 22:05:21 -04:00
parent 3b385f21fc
commit ec4dcbd3a6
3 changed files with 18 additions and 4 deletions

View File

@ -115,7 +115,7 @@ in {
# Launchers # Launchers
"${modifier}+Return" = "${modifier}+Return" =
"exec alacritty; workspace ${ws2}; layout tabbed"; "exec --no-startup-id alacritty; workspace ${ws2}; layout tabbed";
"${modifier}+space" = "${modifier}+space" =
"exec --no-startup-id ${config.gui.launcherCommand}"; "exec --no-startup-id ${config.gui.launcherCommand}";
"${modifier}+Shift+s" = "${modifier}+Shift+s" =

View File

@ -14,11 +14,16 @@
home.packages = with pkgs; [ age ]; home.packages = with pkgs; [ age ];
programs.himalaya = { enable = true; }; programs.himalaya = { enable = true; };
programs.mbsync = { enable = true; };
services.mbsync = {
enable = true;
frequency = "*:0/5";
};
accounts.email = { accounts.email = {
maildirBasePath = "/home/${config.user}/mail"; maildirBasePath = "/home/${config.user}/mail";
accounts = { accounts = {
main = let home = let
address = "${config.user}@${config.mailServer}"; address = "${config.user}@${config.mailServer}";
serverHostname = "mail.${config.mailServer}"; serverHostname = "mail.${config.mailServer}";
in { in {
@ -55,7 +60,7 @@
}; };
maildir = { path = "main"; }; maildir = { path = "main"; };
mbsync = { mbsync = {
enable = false; enable = true;
create = "maildir"; create = "maildir";
expunge = "none"; expunge = "none";
remove = "none"; remove = "none";

View File

@ -1,7 +1,16 @@
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
services.keybase.enable = true; services.keybase.enable = true;
services.kbfs.enable = true; services.kbfs = {
enable = true;
enableRedirector = true;
mountPoint = "/run/user/1000/keybase/kbfs";
};
security.wrappers.keybase-redirector = {
setuid = true;
owner = "root";
group = "root";
};
home-manager.users.${config.user} = { home-manager.users.${config.user} = {
home.packages = [ (lib.mkIf config.gui.enable pkgs.keybase-gui) ]; home.packages = [ (lib.mkIf config.gui.enable pkgs.keybase-gui) ];