added new workstation configs

This commit is contained in:
Bryan Ramos 2025-01-21 16:45:53 -05:00
parent ec56fef89b
commit 3a8d303d6f
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
4 changed files with 189 additions and 6 deletions

View file

@ -102,7 +102,7 @@ in
};
extraConfig = ''
exec_always ${pkgs.autotiling}/bin/autotiling --limit 2
exec_always ${pkgs.autotiling}/bin/autotiling -sr "1.61"
'';
};

View file

@ -3,9 +3,9 @@
with lib;
let
cfg = config.modules.user.security.gpg;
gui = config.modules.user.gui.wm;
wm = {
enable = builtins.any (mod: mod.enable or false) (builtins.attrValues gui);
wm = config.modules.user.gui.wm;
gui = {
enable = builtins.any (mod: mod.enable or false) (builtins.attrValues wm);
};
in
@ -22,7 +22,16 @@ in
text = "${config.user.keys.pgp.windows}";
trust = 5;
}
];
] ++ (if wm.sway.enable then [
{
text = "${config.user.keys.pgp.work}";
trust = 5;
}
{
text = "${config.user.keys.pgp.ccur}";
trust = 5;
}
] else []);
};
services.gpg-agent = {
@ -32,7 +41,7 @@ in
enableScDaemon = true;
pinentryPackage =
if wm.enable then
if gui.enable then
pkgs.pinentry-gnome3
else
pkgs.pinentry-curses;