nix/nixos/genofire.nix

21 lines
435 B
Nix
Raw Permalink Normal View History

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
security.pam.services.swaylock = {};
2021-10-08 05:48:27 +02:00
}