mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 11:36:34 +01:00
111 lines
2.6 KiB
Nix
111 lines
2.6 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.xserver.desktopManager.kodi.enable = true;
|
||
|
||
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
|
||
|
||
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;
|
||
|
||
#boot.kernelParams = [ "module_blacklist=i915" ];
|
||
services.minecraft-server = {
|
||
enable = true;
|
||
eula = true;
|
||
openFirewall = true;
|
||
declarative = true;
|
||
serverProperties = {
|
||
difficulty = 3;
|
||
enable-rcon = true;
|
||
"rcon.password" = "test";
|
||
motd = "&cWake up to reality! Nothing ever goes as planned in this accursed world.☯️";
|
||
spawn-protection = 0;
|
||
level-type = "minecraft:amplified";
|
||
level-name = "amplified_world";
|
||
};
|
||
};
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
mcrcon
|
||
prismlauncher
|
||
libsForQt5.discover
|
||
skypeforlinux
|
||
jetbrains.pycharm-professional
|
||
carla
|
||
#devolo-dlan-cockpit
|
||
libsForQt5.qtstyleplugin-kvantum
|
||
|
||
# Theming
|
||
catppuccin-kvantum
|
||
catppuccin-kde
|
||
catppuccin-gtk
|
||
tela-icon-theme
|
||
|
||
# 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
|
||
|
||
# Gaming
|
||
wineWowPackages.waylandFull
|
||
];
|
||
|
||
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.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;
|
||
}
|