mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/personal-computer/default.nix
This commit is contained in:
2026-01-14 16:38:33 +07:00
parent 906a15bfa3
commit 7d9366e8bf
4 changed files with 25 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
./users.nix ./users.nix
./automatic-timezone.nix ./automatic-timezone.nix
./wireless.nix ./wireless.nix
./libinput.nix
]; ];
}; };
}; };

View File

@@ -0,0 +1,11 @@
{
services = {
libinput = {
enable = true;
touchpad = {
disableWhileTyping = true;
naturalScrolling = true;
};
};
};
}

View File

@@ -1,4 +0,0 @@
{ lib, ... }:
{
users.mutableUsers = lib.mkForce true;
}

View File

@@ -0,0 +1,13 @@
{ lib, ... }:
{
users.mutableUsers = lib.mkForce true;
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.accounts.change-own-password") {
if (subject.user == polkit.getUserForSubject(subject).getUserName()) {
return polkit.Result.YES;
}
}
});
'';
}