nix-config/hosts/desktopnix/default.nix

67 lines
1.7 KiB
Nix
Raw Normal View History

2024-03-13 00:06:30 +01:00
{
inputs,
lib,
2024-05-13 22:08:06 +02:00
pkgs,
2024-03-13 00:06:30 +01:00
...
}: {
2023-08-30 14:25:52 +02:00
imports = [
inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime
2024-05-03 21:43:11 +02:00
inputs.nixos-hardware.nixosModules.common-cpu-intel-cpu-only
inputs.nixos-hardware.nixosModules.common-pc
2023-08-30 14:25:52 +02:00
inputs.nixos-hardware.nixosModules.common-pc
inputs.nixos-hardware.nixosModules.common-pc-hdd
inputs.nixos-hardware.nixosModules.common-pc-ssd
2024-04-11 23:11:53 +02:00
../../config/basic
../../config/hardware/bluetooth.nix
../../config/hardware/nintendo.nix
../../config/hardware/nvidia.nix
../../config/hardware/physical.nix
../../config/hardware/pipewire.nix
../../config/hardware/yubikey.nix
../../config/optional/dev.nix
../../config/optional/graphical.nix
../../config/optional/printing.nix
../../config/optional/secureboot.nix
../../config/optional/steam.nix
../../config/optional/xserver.nix
../../config/optional/zfs.nix
../../modules-hm/streamdeck.nix
2023-09-05 23:01:07 +02:00
2023-08-30 14:25:52 +02:00
./net.nix
./fs.nix
2023-08-30 16:38:30 +02:00
../../users/patrick
2023-08-30 14:25:52 +02:00
];
2023-09-22 20:57:08 +02:00
stylix.fonts.sizes = {
2023-09-24 22:21:52 +02:00
terminal = 9;
applications = 10;
2023-09-25 00:29:39 +02:00
desktop = 10;
2023-09-22 20:57:08 +02:00
};
2024-03-02 16:09:11 +01:00
services.xserver.xkb = {
layout = "de";
2024-03-02 16:09:11 +01:00
variant = "bone";
};
2023-12-13 17:29:10 +01:00
virtualisation.podman = {
enable = true;
2023-12-13 17:29:10 +01:00
dockerCompat = true;
};
2024-01-25 22:44:36 +01:00
boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
nix.settings.system-features = ["kvm" "nixos-test"];
2024-03-21 20:39:59 +01:00
2024-05-13 22:08:06 +02:00
# for embedded
services.udev.packages = [pkgs.j-link];
environment.systemPackages = [pkgs.j-link];
2024-03-21 20:39:59 +01:00
services.netbird.enable = true;
2024-04-05 21:54:41 +02:00
# Do not cleanup nix store to prevent having to rebuild packages onca a month
2024-04-01 15:01:59 +02:00
nix.gc.automatic = lib.mkForce false;
2024-06-09 20:59:23 +02:00
nixpkgs.hostPlatform = "x86_64-linux";
2024-06-13 22:42:01 +02:00
nixpkgs.config.cudaSupport = true;
2023-08-30 14:25:52 +02:00
}