mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 19:41:35 +01:00
31 lines
689 B
Nix
31 lines
689 B
Nix
{ pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
inputs.nixos-hardware.nixosModules.common-gpu-amd
|
|
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
|
./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";
|
|
}
|
|
|