2021-10-08 05:48:27 +02:00
|
|
|
{pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
|
|
|
|
services.postgresql = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.postgresql_14;
|
|
|
|
dataDir = "/var/lib/postgres/${config.services.postgresql.package.psqlSchema}";
|
|
|
|
# dataDir = /var/lib/postgres/data;
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.genofire = {
|
|
|
|
uid = 1021;
|
|
|
|
home = "/home/genofire";
|
|
|
|
extraGroups = ["wheel"];
|
|
|
|
isNormalUser = true;
|
|
|
|
useDefaultShell = true;
|
|
|
|
};
|
2021-10-09 01:09:18 +02:00
|
|
|
|
2021-10-10 14:06:53 +02:00
|
|
|
# wayland
|
2021-10-09 01:09:18 +02:00
|
|
|
security.pam.services.swaylock = {};
|
2021-10-08 05:48:27 +02:00
|
|
|
}
|