Files
nixos-config/nixos-configurations/laptop/default.nix
2023-09-19 21:34:45 +02:00

31 lines
722 B
Nix

{ config, pkgs, inputs, ... }:
{
imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
./hardware-configuration.nix
../shared-desktop.nix
../shared.nix
];
networking.hostName = "laptop";
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
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, ... }: {
programs.git.signing.key = "1142F33FFA8ADAAC";
home.stateVersion = "23.05";
};
system.stateVersion = "23.05";
}