nix-conf/systems/kami/default.nix

118 lines
2.8 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-16 14:55:15 +02:00
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
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" ];
2023-07-21 23:42:39 +02:00
services.minecraft-server = {
enable = true;
eula = true;
openFirewall = true;
2023-07-21 23:57:23 +02:00
declarative = true;
serverProperties = {
difficulty = 3;
enable-rcon = true;
"rcon.password" = "test";
2023-07-22 00:53:15 +02:00
motd = "\\u00A7cWake up to reality! Nothing ever goes as planned in this accursed world.";
2023-07-21 23:57:23 +02:00
spawn-protection = 0;
2023-07-22 00:34:13 +02:00
level-type = "minecraft:amplified";
level-name = "amplified_world";
2023-07-21 23:57:23 +02:00
};
2023-07-21 23:42:39 +02:00
};
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
# Theming
catppuccin-kvantum
catppuccin-kde
catppuccin-gtk
tela-icon-theme
2023-05-16 14:55:15 +02:00
# Fonts
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
];
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;
}