Update modules/users.nix modules/workspace/i3/default.nix modules/workspace/misc.nix

This commit is contained in:
Alexander Bantyev 2020-03-01 21:25:57 +03:00
parent 3f61d8793f
commit 1462142487
3 changed files with 4 additions and 34 deletions

View File

@ -49,34 +49,7 @@
enable = true; enable = true;
}; };
security.pam.services = builtins.listToAttrs (builtins.map (name: { security.pam.services.default.unixAuth = false;
inherit name;
value = { unixAuth = false; };
}) [
"chpasswd"
"chsh"
"groupadd"
"groupdel"
"groupmems"
"groupmod"
"i3lock"
"i3lock-color"
"login"
"passwd"
"polkit-1"
"runuser"
"runuser-l"
"su"
"sudo"
"swaylock"
"systemd-user"
"useradd"
"userdel"
"usermod"
"vlock"
"xlock"
"xscreensaver"
]);
security.sudo = { security.sudo = {
enable = true; enable = true;

View File

@ -61,10 +61,6 @@ in {
command = "border pixel 2px"; command = "border pixel 2px";
criteria = { window_role = "popup"; }; criteria = { window_role = "popup"; };
} }
{
command = "floating enable";
criteria = { app_id = "org.kde.polkit-kde-authentication-1"; };
}
{ {
command = "sticky enable"; command = "sticky enable";
criteria = { floating = ""; }; criteria = { floating = ""; };
@ -76,7 +72,7 @@ in {
{ command = "${pkgs.kdeconnect}/libexec/kdeconnectd"; } { command = "${pkgs.kdeconnect}/libexec/kdeconnectd"; }
{ {
command = command =
"${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"; "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
} }
{ {
command = command =

View File

@ -15,6 +15,7 @@
NIX_AUTO_RUN = "1"; NIX_AUTO_RUN = "1";
}; };
services.atd.enable = true; services.atd.enable = true;
services.dbus.packages = [ pkgs.gcr ];
home-manager.users.balsoft = { home-manager.users.balsoft = {
xdg.enable = true; xdg.enable = true;
@ -38,7 +39,7 @@
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
enableSshSupport = true; enableSshSupport = true;
pinentryFlavor = "qt"; pinentryFlavor = "gnome3";
sshKeys = [ "0819BD05AB506F55109B8418B7809DF496AD3C7B" ]; sshKeys = [ "0819BD05AB506F55109B8418B7809DF496AD3C7B" ];
}; };
programs.gpg.enable = true; programs.gpg.enable = true;