Clean up home dir a bit
This commit is contained in:
parent
c0a5d1f8cc
commit
04a66f7f98
|
@ -25,6 +25,7 @@
|
|||
# signal-desktop # Signal client
|
||||
# element-desktop # Matrix client
|
||||
# zoom-us # Zoom client 🤮
|
||||
whatsapp-for-linux
|
||||
# }}}
|
||||
# {{{ Editors for different formats
|
||||
gimp # Image editing
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ config, ... }: {
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.moonythm_mail_pass.sopsFile = ./secrets.yaml;
|
||||
|
||||
programs.msmtp.enable = true;
|
||||
|
@ -61,7 +62,13 @@
|
|||
neomutt = {
|
||||
enable = true;
|
||||
sendMailCommand = "msmtpq --read-envelope-from --read-recipients";
|
||||
extraMailboxes = [ "Archive" "Drafts" "Junk" "Sent" "Trash" ];
|
||||
extraMailboxes = [
|
||||
"Archive"
|
||||
"Drafts"
|
||||
"Junk"
|
||||
"Sent"
|
||||
"Trash"
|
||||
];
|
||||
};
|
||||
# }}}
|
||||
# {{{ Aerc
|
||||
|
@ -94,28 +101,40 @@
|
|||
binds = [
|
||||
# {{{ Toggle sidebar
|
||||
{
|
||||
map = [ "index" "pager" ];
|
||||
map = [
|
||||
"index"
|
||||
"pager"
|
||||
];
|
||||
key = "B";
|
||||
action = "sidebar-toggle-visible";
|
||||
}
|
||||
# }}}
|
||||
# {{{ Highlight previous sidebar item
|
||||
{
|
||||
map = [ "index" "pager" ];
|
||||
map = [
|
||||
"index"
|
||||
"pager"
|
||||
];
|
||||
key = "\\CK";
|
||||
action = "sidebar-prev";
|
||||
}
|
||||
# }}}
|
||||
# {{{ Highlight next sidebar item
|
||||
{
|
||||
map = [ "index" "pager" ];
|
||||
map = [
|
||||
"index"
|
||||
"pager"
|
||||
];
|
||||
key = "\\CJ";
|
||||
action = "sidebar-next";
|
||||
}
|
||||
# }}}
|
||||
# {{{ Open highlighted sidebar item
|
||||
{
|
||||
map = [ "index" "pager" ];
|
||||
map = [
|
||||
"index"
|
||||
"pager"
|
||||
];
|
||||
key = "\\CO";
|
||||
action = "sidebar-open";
|
||||
}
|
||||
|
@ -334,7 +353,11 @@
|
|||
exec = "neomutt %U";
|
||||
icon = "mutt";
|
||||
terminal = true;
|
||||
categories = [ "Network" "Email" "ConsoleOnly" ];
|
||||
categories = [
|
||||
"Network"
|
||||
"Email"
|
||||
"ConsoleOnly"
|
||||
];
|
||||
type = "Application";
|
||||
mimeType = [ "x-scheme-handler/mailto" ];
|
||||
};
|
||||
|
@ -346,9 +369,7 @@
|
|||
# }}}
|
||||
# }}}
|
||||
# {{{ Storage & persistence
|
||||
accounts.email.maildirBasePath = "${config.home.homeDirectory}/maildir";
|
||||
satellite.persistence.at.data.apps.mail.directories = [
|
||||
config.accounts.email.maildirBasePath
|
||||
];
|
||||
accounts.email.maildirBasePath = "${config.xdg.dataHome}/maildir";
|
||||
satellite.persistence.at.data.apps.mail.directories = [ config.accounts.email.maildirBasePath ];
|
||||
# }}}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
workflowDir = "${config.home.homeDirectory}/productivity/smos";
|
||||
workflowDir = "${config.xdg.dataHome}/smos/workflow";
|
||||
in
|
||||
{
|
||||
sops.secrets.smos_password.sopsFile = ../secrets.yaml;
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
authorizedKeys = { outputs, lib }:
|
||||
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
# For more comments check out [pilot](./pilot.nix)
|
||||
{
|
||||
pkgs,
|
||||
outputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
users.mutableUsers = false;
|
||||
users.users.guest = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
"tty"
|
||||
];
|
||||
password = "heyo";
|
||||
openssh.authorizedKeys.keyFiles = (import ./common.nix).authorizedKeys { inherit outputs lib; };
|
||||
};
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
# {{{ Password handling
|
||||
sops.secrets.pilot_password = {
|
||||
sopsFile = ../secrets.yaml;
|
||||
sopsFile = ../../secrets.yaml;
|
||||
neededForUsers = true;
|
||||
};
|
||||
# }}}
|
||||
|
|
Loading…
Reference in a new issue