2024-05-05 00:50:32 +02:00
|
|
|
{ inputs, pkgs, ... }:
|
2023-05-10 19:59:21 +02:00
|
|
|
|
|
|
|
|
{
|
2023-06-03 05:42:48 +02:00
|
|
|
imports = [
|
2024-05-12 20:16:39 +02:00
|
|
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480s
|
2023-06-03 05:42:48 +02:00
|
|
|
./hardware-configuration.nix
|
2023-07-02 00:18:17 +02:00
|
|
|
../shared-desktop.nix
|
2023-06-03 05:42:48 +02:00
|
|
|
../shared.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.hostName = "laptop";
|
2023-05-11 15:36:33 +02:00
|
|
|
|
2024-05-05 00:36:43 +02:00
|
|
|
services.mysql = {
|
|
|
|
|
enable = true;
|
|
|
|
|
package = pkgs.mariadb;
|
|
|
|
|
};
|
|
|
|
|
|
2024-08-06 14:04:28 +02:00
|
|
|
systemd.tmpfiles.rules = [
|
|
|
|
|
"L+ /run/gdm/.config/monitors.xml - - - - ${pkgs.writeText "gdm-monitors.xml" ''
|
|
|
|
|
<monitors version="2">
|
|
|
|
|
<configuration>
|
|
|
|
|
<logicalmonitor>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<scale>1</scale>
|
|
|
|
|
<monitor>
|
|
|
|
|
<monitorspec>
|
|
|
|
|
<connector>eDP-1</connector>
|
|
|
|
|
<vendor>BOE</vendor>
|
|
|
|
|
<product>0x074f</product>
|
|
|
|
|
<serial>0x00000000</serial>
|
|
|
|
|
</monitorspec>
|
|
|
|
|
<mode>
|
|
|
|
|
<width>1920</width>
|
|
|
|
|
<height>1080</height>
|
|
|
|
|
<rate>60.012</rate>
|
|
|
|
|
</mode>
|
|
|
|
|
</monitor>
|
|
|
|
|
</logicalmonitor>
|
|
|
|
|
</configuration>
|
|
|
|
|
</monitors>
|
|
|
|
|
''}"
|
|
|
|
|
];
|
|
|
|
|
|
2023-06-03 05:42:48 +02:00
|
|
|
home-manager.users.thiloho = { pkgs, ... }: {
|
2024-05-14 09:57:28 +02:00
|
|
|
programs.git.signing.key = "5CF074CA31DD6686";
|
2024-04-25 08:25:23 +02:00
|
|
|
home = { stateVersion = "23.05"; };
|
2023-06-03 05:42:48 +02:00
|
|
|
};
|
2023-07-02 00:18:17 +02:00
|
|
|
system.stateVersion = "23.05";
|
2023-05-10 19:59:21 +02:00
|
|
|
}
|