change email pass file

This commit is contained in:
Noah Masur 2022-05-15 15:24:16 -04:00
parent cb47f4bbd3
commit 78ea55f029
5 changed files with 137 additions and 125 deletions

View File

@ -25,6 +25,10 @@
type = types.str;
description = "Command to use for launching";
};
systemdSearch = mkOption {
type = types.str;
description = "Command to use for interacting with systemd";
};
toggleBarCommand = lib.mkOption {
type = lib.types.str;
description = "Command to hide and show the status bar.";

View File

@ -118,6 +118,8 @@ in {
"exec alacritty; workspace ${ws2}; layout tabbed";
"${modifier}+space" =
"exec --no-startup-id ${config.gui.launcherCommand}";
"${modifier}+Shift+s" =
"exec --no-startup-id ${config.gui.systemdSearch}";
"${modifier}+Shift+c" = "reload";
"${modifier}+Shift+r" = "restart";
"${modifier}+Shift+q" = ''

View File

@ -4,12 +4,19 @@
config = lib.mkIf config.services.xserver.enable {
home-manager.users.${config.user}.programs.rofi = {
home-manager.users.${config.user} = {
home.packages = with pkgs;
[
jq # Required for rofi-systemd
];
programs.rofi = {
enable = true;
cycle = true;
location = "center";
pass = { };
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji pkgs.rofi-systemd ];
theme = let
inherit (config.home-manager.users.${config.user}.lib.formats.rasi)
mkLiteral;
@ -131,10 +138,14 @@
extraConfig = {
show-icons = true;
kb-cancel = "Escape,Super+space";
modi = "window,run,ssh,emoji,calc";
modi = "window,run,ssh,emoji,calc,systemd";
};
};
};
gui.launcherCommand = "${pkgs.rofi}/bin/rofi -show run -modi run";
gui.systemdSearch = "${pkgs.rofi-systemd}/bin/rofi-systemd";
};

View File

@ -64,7 +64,7 @@
mu.enable = false;
notmuch.enable = false;
passwordCommand =
"${pkgs.age}/bin/age --decrypt --identity /home/${config.user}/.ssh/id_rsa ${
"${pkgs.age}/bin/age --decrypt --identity /home/${config.user}/.ssh/id_ed25519 ${
builtins.toString ./mailpass.age
}";
smtp = {

View File

@ -1,10 +1,5 @@
age-encryption.org/v1
-> ssh-rsa 6vVbxg
X7xJSc42VFglgjPxz45J3uoGtyZZdI6qyIEL+ZKxzhgYTa66/LVhJT/sLJlg7lnp
DoZCGEvVIrTzlysHeWvNKUIkK/iiRLdsqJybPWs/hai9J2q3OcXehbvU+adHhhxn
7y3Ycle+XeQ2QnFtMZBL0niQNAo3CMNKO6SNQeFwzwGgHmPmAF2JVnwxB5l09Y+e
12T6aQCuh1pZ7oRjFQHg3T1aqXcslyBLLNuT4CXkIQ4hXSPAJGHUcy+rj8+3NsXW
BwI7w3CtBLGDaZue6FBucD3ii4lIcBtUzx9BsgHfsrHPvgx8jAt6cLyWmMFwQO0Y
43zNsHUHok2GEzKE1zLcAA
--- HyCGtqqnrN0ukBo11RTE7l3HUvT2o+qxvlghoY0cY80
:¼ElnÁ<Í2029I70J/Za™\¢{ÛÓ{œX3÷´Î!³¾B™Dƒ:gÇÌG~Wº®I³vWjm
-> ssh-ed25519 MgHaOw 8h/ESNjn0gknNXoHM34UobHzPgmRunoP97H+KHOuGQM
qowH+6TlCRECGCscRgKx6kswY+PZezYUD6E+x9e+5pM
--- kFj1JzRdh/D13Uq9aNTzMJIFysEE+kzzthjewOIR2+o
Ȳ²¸6<EFBFBD>Àï}rCìzó™ð øà ï>&Ä=jW ^W‰l! "}MSÍå8=‰xƒ²÷m =ЇøL