nix-conf/systems/kami/default.nix

127 lines
2.5 KiB
Nix
Raw Normal View History

{ config, pkgs, lib, nixos-hardware, ... }:
2023-05-16 14:55:15 +02:00
{
imports = [
./hardware.nix
nixos-hardware.nixosModules.common-cpu-intel
nixos-hardware.nixosModules.common-gpu-intel
nixos-hardware.nixosModules.common-gpu-nvidia
nixos-hardware.nixosModules.common-pc
nixos-hardware.nixosModules.common-hidpi
nixos-hardware.nixosModules.common-pc-ssd
];
2023-05-16 14:55:15 +02:00
2023-12-29 16:43:40 +01:00
jopejoe1 = {
audio = {
enable = true;
2023-12-30 20:22:25 +01:00
sennheiser-hd-660s = true;
2023-12-29 16:43:40 +01:00
};
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
plasma6.enable = true;
printing.enable = true;
2024-01-02 19:32:20 +01:00
overlays.enable = true;
2023-12-29 16:43:40 +01:00
steam.enable = true;
asf.enable = true;
minecraft-server.enable = true;
repo-sync.enable = true;
jopejoe1.enable = true;
root.enable = true;
};
2023-12-30 23:39:33 +01:00
networking = {
hostName = "kami";
hostId = "16c22faf";
2023-10-26 19:28:35 +02:00
};
2023-10-12 18:41:54 +02:00
2023-12-30 23:39:33 +01:00
services = {
hardware.openrgb.enable = true;
fwupd.enable = true;
xserver = {
videoDrivers = [ "nvidia" ];
layout = "de";
};
};
2023-06-30 13:38:44 +02:00
2023-12-30 23:39:33 +01:00
nixpkgs = {
config = { cudaSupport = true; };
hostPlatform = {
system = "x86_64-linux";
config = "x86_64-unknown-linux-gnu";
# gcc.arch = "alderlake";
};
};
2023-05-16 14:55:15 +02:00
2023-12-30 23:39:33 +01:00
boot = {
kernelPackages = pkgs.linuxPackages_testing;
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
editor = false;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
};
2023-05-16 14:55:15 +02:00
time.timeZone = "Europe/Berlin";
2023-12-30 23:39:33 +01:00
hardware = {
opengl = {
enable = true;
driSupport32Bit = true;
};
nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
modesetting.enable = true;
};
};
2023-07-26 20:55:11 +02:00
2023-05-16 14:55:15 +02:00
environment.systemPackages = with pkgs; [
prismlauncher
2023-08-18 17:05:26 +02:00
mixxx
2023-08-18 17:07:31 +02:00
picard
mangohud
goverlay
2023-10-01 19:07:50 +02:00
strawberry
2023-10-12 15:21:14 +02:00
whatsapp-for-linux
2023-11-13 08:42:23 +01:00
teams-for-linux
webex
2023-11-13 08:44:45 +01:00
discord
2023-12-17 15:25:49 +01:00
element-desktop
mumble
2023-05-19 22:10:45 +02:00
# Theming
catppuccin-kvantum
catppuccin-kde
catppuccin-gtk
tela-icon-theme
2023-05-16 14:55:15 +02:00
];
programs = {
dconf.enable = true;
droidcam.enable = true;
2023-12-30 23:45:56 +01:00
sysdig.enable = false;
2023-05-22 19:42:28 +02:00
xwayland.enable = true;
2023-05-16 14:55:15 +02:00
kdeconnect.enable = true;
gamemode.enable = true;
git = {
enable = true;
lfs.enable = true;
};
2023-05-16 14:55:15 +02:00
};
console = {
enable = true;
keyMap = "de";
};
2023-12-30 23:39:33 +01:00
nix.settings.system-features =
[ "gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test" ];
systemd.services.nix-daemon.serviceConfig.LimitNOFILE =
lib.mkForce 1048576000;
2023-05-16 14:55:15 +02:00
}