2024-08-06 12:27:29 +02:00
|
|
|
{ inputs, ... }:
|
2023-05-10 19:59:21 +02:00
|
|
|
|
|
|
|
|
{
|
2023-06-03 05:42:48 +02:00
|
|
|
imports = [
|
2023-09-20 00:35:40 +02:00
|
|
|
inputs.nixos-hardware.nixosModules.common-gpu-amd
|
|
|
|
|
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
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
|
|
|
|
|
];
|
2023-05-10 19:59:21 +02:00
|
|
|
|
2023-12-24 17:13:11 +01:00
|
|
|
networking = {
|
|
|
|
|
hostName = "pc";
|
|
|
|
|
firewall = {
|
2024-02-07 11:08:33 +01:00
|
|
|
allowedTCPPorts = [ 5173 8081 ];
|
|
|
|
|
allowedUDPPorts = [ 5173 8081 ];
|
2023-12-24 17:13:11 +01:00
|
|
|
};
|
|
|
|
|
};
|
2023-05-25 11:40:57 +02:00
|
|
|
|
2024-02-03 21:01:15 +01:00
|
|
|
boot.kernelParams = [ "amd_iommu=on" ];
|
|
|
|
|
|
|
|
|
|
virtualisation.libvirtd.enable = true;
|
|
|
|
|
virtualisation.libvirtd.qemu.swtpm.enable = true;
|
|
|
|
|
programs.virt-manager.enable = true;
|
|
|
|
|
|
2023-12-24 17:13:11 +01:00
|
|
|
programs.adb.enable = true;
|
|
|
|
|
users.users.thiloho.extraGroups = [ "adbusers" ];
|
|
|
|
|
|
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 = {
|
2024-08-06 14:04:25 +02:00
|
|
|
packages = with pkgs; [ blender inkscape chromium ];
|
2023-10-01 22:59:28 +02:00
|
|
|
stateVersion = "23.05";
|
|
|
|
|
};
|
2023-06-03 05:42:48 +02:00
|
|
|
};
|
2023-06-24 21:36:20 +00:00
|
|
|
system.stateVersion = "23.05";
|
2023-05-10 19:59:21 +02:00
|
|
|
}
|
|
|
|
|
|