nix-conf/systems/kami/default.nix
2023-08-20 22:54:29 +02:00

131 lines
2.8 KiB
Nix

{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
];
networking.hostName = "kami";
networking.hostId = "16c22faf";
services.hardware.openrgb.enable = true;
services.fwupd.enable = true;
services.xserver.desktopManager.kodi.enable = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
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;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
services.logmein-hamachi.enable = true;
programs.haguichi.enable = true;
#boot.kernelParams = [ "module_blacklist=i915" ];
fonts.packages = with pkgs; [
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
];
environment.systemPackages = with pkgs; [
mcrcon
prismlauncher
libsForQt5.discover
skypeforlinux
jetbrains.pycharm-community
jetbrains.idea-community
carla
#devolo-dlan-cockpit
libsForQt5.qtstyleplugin-kvantum
mixxx
picard
# Theming
catppuccin-kvantum
catppuccin-kde
catppuccin-gtk
tela-icon-theme
];
programs.java = {
enable = true;
binfmt = true;
};
services.mopidy = {
enable = true;
extensionPackages = with pkgs; [
mopidy-mpd
mopidy-tidal
mopidy-local
mopidy-tunein
mopidy-somafm
mopidy-ytmusic
mopidy-youtube
mopidy-spotify
mopidy-podcast
mopidy-bandcamp
mopidy-soundcloud
mopidy-iris
];
extraConfigFiles = [
"/home/jopejoe1/.config/mopidy.conf"
];
};
hardware.nvidia.modesetting.enable = true;
services.flatpak.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
xwayland.enable = true;
kdeconnect.enable = true;
gamemode.enable = true;
git = {
enable = true;
lfs.enable = true;
};
};
console = {
enable = true;
keyMap = "de";
};
services.xserver = {
layout = "de";
};
boot.plymouth = {
enable = true;
themePackages = [ pkgs.catppuccin-plymouth ];
theme = "catppuccin-frappe";
};
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;
}