mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
fix kbfs, mbsync, alacritty i3
This commit is contained in:
parent
3b385f21fc
commit
ec4dcbd3a6
@ -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" =
|
||||||
|
@ -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";
|
||||||
|
@ -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) ];
|
||||||
|
Loading…
Reference in New Issue
Block a user