nix-conf/systems/benzaiten/default.nix

44 lines
993 B
Nix
Raw Normal View History

2024-03-08 18:59:28 +01:00
{ pkgs, config, nixos-hardware, ... }:
2023-09-08 14:36:39 +02:00
{
imports = [
./hardware-configuration.nix
nixos-hardware.nixosModules.common-cpu-intel
nixos-hardware.nixosModules.common-gpu-nvidia
nixos-hardware.nixosModules.common-pc-laptop
nixos-hardware.nixosModules.common-pc-laptop-hdd
];
2023-09-08 14:36:39 +02:00
2023-12-29 16:43:40 +01:00
jopejoe1 = {
2023-12-30 23:39:33 +01:00
audio = { enable = true; };
2023-12-29 16:43:40 +01:00
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
2024-03-08 18:59:28 +01:00
plasma.enable = true;
2024-01-13 18:01:23 +01:00
user = {
jopejoe1.enable = true;
root.enable = true;
};
2024-04-02 20:23:02 +02:00
printing.enable = true;
2024-01-11 00:19:11 +01:00
ssh.enable = true;
2024-03-08 18:59:28 +01:00
keyboard = {
enable = true;
layout = "de";
};
};
hardware.nvidia.prime = {
nvidiaBusId = "PCI:01:00:0";
intelBusId = "PCI:00:02:0";
2023-12-29 16:43:40 +01:00
};
2024-03-08 18:59:28 +01:00
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.enable = true;
2023-12-30 23:39:33 +01:00
environment.systemPackages = with pkgs; [ mixxx ];
2023-09-08 14:36:39 +02:00
time.timeZone = "Europe/Berlin";
}