nix-conf/systems/kami/default.nix

103 lines
2.3 KiB
Nix
Raw Normal View History

2023-05-16 14:55:15 +02:00
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
];
networking.hostName = "kami";
networking.hostId = "16c22faf";
2023-05-19 20:53:02 +02:00
services.hardware.openrgb.enable = true;
2023-05-16 14:55:15 +02:00
2023-06-30 13:38:44 +02:00
services.xserver.desktopManager.kodi.enable = true;
2023-05-19 20:35:35 +02:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2023-05-16 14:55:15 +02:00
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
2023-05-16 14:55:15 +02:00
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
2023-07-22 15:11:52 +02:00
services.logmein-hamachi.enable = true;
programs.haguichi.enable = true;
2023-05-16 14:55:15 +02:00
#boot.kernelParams = [ "module_blacklist=i915" ];
fonts.packages = with pkgs; [
2023-07-26 20:55:11 +02:00
google-fonts
noto-fonts
noto-fonts-emoji
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji-blob-bin
nerdfonts
league-of-moveable-type
twitter-color-emoji
];
2023-05-16 14:55:15 +02:00
environment.systemPackages = with pkgs; [
2023-07-21 23:57:23 +02:00
mcrcon
2023-05-16 14:55:15 +02:00
prismlauncher
libsForQt5.discover
skypeforlinux
jetbrains.pycharm-professional
carla
#devolo-dlan-cockpit
2023-05-19 22:10:45 +02:00
libsForQt5.qtstyleplugin-kvantum
2023-08-18 17:05:26 +02:00
mixxx
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
];
hardware.nvidia.modesetting.enable = true;
services.flatpak.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
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";
};
services.xserver = {
layout = "de";
};
2023-07-26 13:36:06 +02:00
boot.plymouth = {
enable = true;
themePackages = [ pkgs.catppuccin-plymouth ];
theme = "catppuccin-frappe";
};
2023-05-16 14:55:15 +02:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.systemd-boot.configurationLimit = 10;
# https://github.com/NixOS/nixpkgs/blob/c32c39d6f3b1fe6514598fa40ad2cf9ce22c3fb7/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L66
boot.loader.systemd-boot.editor = false;
}