Files
nixos-config/nixos-configurations/pc/default.nix
2023-08-29 16:03:38 +02:00

29 lines
573 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../shared-desktop.nix
../shared.nix
];
networking.hostName = "pc";
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;
ensureDatabases = [ "dcbot" ];
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
home-manager.users.thiloho = { pkgs, lib, ... }: {
programs.git.signing.key = "5ECD00BDC15A987E";
home.stateVersion = "23.05";
};
system.stateVersion = "23.05";
}