Files
nixos-config/nixos-configurations/pc/default.nix

36 lines
761 B
Nix
Raw Normal View History

2023-09-20 00:35:40 +02:00
{ pkgs, inputs, ... }:
{
imports = [
2023-09-20 00:35:40 +02:00
inputs.nixos-hardware.nixosModules.common-gpu-amd
inputs.nixos-hardware.nixosModules.common-cpu-amd
./hardware-configuration.nix
2023-07-02 00:18:17 +02:00
../shared-desktop.nix
../shared.nix
];
networking.hostName = "pc";
2023-05-25 11:40:57 +02:00
2023-08-29 16:03:38 +02:00
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;
ensureDatabases = [ "dcbot" ];
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
2023-06-12 19:49:59 +02:00
home-manager.users.thiloho = { pkgs, lib, ... }: {
2023-08-06 19:52:02 +02:00
programs.git.signing.key = "5ECD00BDC15A987E";
2023-10-01 22:59:28 +02:00
home = {
packages = with pkgs; [
blender
];
stateVersion = "23.05";
};
};
2023-06-24 21:36:20 +00:00
system.stateVersion = "23.05";
}