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

34 lines
732 B
Nix
Raw Normal View History

{ config, pkgs, inputs, ... }:
{
imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
./hardware-configuration.nix
2023-07-02 00:18:17 +02:00
../shared-desktop.nix
../shared.nix
];
networking.hostName = "laptop";
2023-05-11 15:36:33 +02:00
2023-08-21 12:06:29 +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
'';
};
home-manager.users.thiloho = { pkgs, ... }: {
2023-09-19 18:54:59 +02:00
programs.git.signing.key = "1142F33FFA8ADAAC";
2023-10-16 16:10:27 +02:00
home = {
packages = with pkgs; [
# ciscoPacketTracer8
];
stateVersion = "23.05";
};
};
2023-07-02 00:18:17 +02:00
system.stateVersion = "23.05";
}