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

39 lines
884 B
Nix
Raw Normal View History

2024-04-25 08:25:23 +02:00
{ 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
];
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-06-11 16:28:01 +02:00
packages = with pkgs; [ blender inkscape chromium ];
2023-10-01 22:59:28 +02:00
stateVersion = "23.05";
};
};
2023-06-24 21:36:20 +00:00
system.stateVersion = "23.05";
}