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; type = types.str;
description = "Command to use for launching"; description = "Command to use for launching";
}; };
systemdSearch = mkOption {
type = types.str;
description = "Command to use for interacting with systemd";
};
toggleBarCommand = lib.mkOption { toggleBarCommand = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "Command to hide and show the status bar."; description = "Command to hide and show the status bar.";

View File

@ -118,6 +118,8 @@ in {
"exec alacritty; workspace ${ws2}; layout tabbed"; "exec 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" =
"exec --no-startup-id ${config.gui.systemdSearch}";
"${modifier}+Shift+c" = "reload"; "${modifier}+Shift+c" = "reload";
"${modifier}+Shift+r" = "restart"; "${modifier}+Shift+r" = "restart";
"${modifier}+Shift+q" = '' "${modifier}+Shift+q" = ''

View File

@ -4,12 +4,19 @@
config = lib.mkIf config.services.xserver.enable { 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; enable = true;
cycle = true; cycle = true;
location = "center"; location = "center";
pass = { }; pass = { };
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ]; plugins = [ pkgs.rofi-calc pkgs.rofi-emoji pkgs.rofi-systemd ];
theme = let theme = let
inherit (config.home-manager.users.${config.user}.lib.formats.rasi) inherit (config.home-manager.users.${config.user}.lib.formats.rasi)
mkLiteral; mkLiteral;
@ -131,10 +138,14 @@
extraConfig = { extraConfig = {
show-icons = true; show-icons = true;
kb-cancel = "Escape,Super+space"; 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.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; mu.enable = false;
notmuch.enable = false; notmuch.enable = false;
passwordCommand = 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 builtins.toString ./mailpass.age
}"; }";
smtp = { smtp = {

View File

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