2023-10-27 19:28:07 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-05-16 14:55:15 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
./hardware.nix
|
|
|
|
];
|
|
|
|
|
2023-12-29 16:43:40 +01:00
|
|
|
jopejoe1 = {
|
|
|
|
audio = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
bluetooth.enable = true;
|
|
|
|
local.enable = true;
|
|
|
|
nix.enable = true;
|
|
|
|
plasma6.enable = true;
|
|
|
|
printing.enable = true;
|
|
|
|
steam.enable = true;
|
|
|
|
asf.enable = true;
|
|
|
|
minecraft-server.enable = true;
|
|
|
|
repo-sync.enable = true;
|
|
|
|
jopejoe1.enable = true;
|
|
|
|
root.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-05-16 14:55:15 +02:00
|
|
|
networking.hostName = "kami";
|
|
|
|
networking.hostId = "16c22faf";
|
2023-05-19 20:53:02 +02:00
|
|
|
services.hardware.openrgb.enable = true;
|
2023-08-19 19:15:29 +02:00
|
|
|
services.fwupd.enable = true;
|
2023-05-16 14:55:15 +02:00
|
|
|
|
2023-10-26 19:22:58 +02:00
|
|
|
nixpkgs.config = {
|
|
|
|
cudaSupport = true;
|
|
|
|
allowAliases = false;
|
|
|
|
allowUnfree = true;
|
2023-10-26 19:28:35 +02:00
|
|
|
};
|
2023-10-12 18:41:54 +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
|
|
|
|
2023-11-16 17:21:34 +01:00
|
|
|
#boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
2023-12-01 20:09:56 +01:00
|
|
|
boot.kernelPackages = pkgs.linuxPackages_testing;
|
2023-05-16 14:55:15 +02:00
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
hardware.opengl.enable = true;
|
2023-07-12 11:40:26 +02:00
|
|
|
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-26 20:56:17 +02:00
|
|
|
fonts.packages = with pkgs; [
|
2023-07-26 20:55:11 +02:00
|
|
|
google-fonts
|
|
|
|
noto-fonts
|
2023-10-26 20:00:20 +02:00
|
|
|
noto-fonts-color-emoji
|
2023-07-26 20:55:11 +02:00
|
|
|
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
|
2023-08-20 13:10:59 +02:00
|
|
|
jetbrains.pycharm-community
|
|
|
|
jetbrains.idea-community
|
2023-05-16 14:55:15 +02:00
|
|
|
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-08-18 17:07:31 +02:00
|
|
|
picard
|
2023-09-04 18:37:29 +02:00
|
|
|
mangohud
|
|
|
|
goverlay
|
2023-10-01 19:07:50 +02:00
|
|
|
strawberry
|
2023-10-12 15:21:14 +02:00
|
|
|
whatsapp-for-linux
|
2023-10-12 18:41:54 +02:00
|
|
|
qdirstat
|
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
|
|
|
|
2023-08-24 17:48:34 +02:00
|
|
|
(python3.withPackages(ps: with ps; [ beautifulsoup4 requests]))
|
|
|
|
|
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
|
|
|
];
|
|
|
|
|
2023-08-20 16:13:06 +02:00
|
|
|
programs.java = {
|
|
|
|
enable = true;
|
|
|
|
binfmt = true;
|
|
|
|
};
|
|
|
|
|
2023-05-16 14:55:15 +02:00
|
|
|
hardware.nvidia.modesetting.enable = true;
|
|
|
|
|
|
|
|
services.flatpak.enable = true;
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
dconf.enable = true;
|
|
|
|
droidcam.enable = true;
|
2023-12-01 20:09:56 +01:00
|
|
|
#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;
|
2023-07-12 11:40:26 +02:00
|
|
|
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-11-02 08:20:26 +01:00
|
|
|
#boot.plymouth = {
|
|
|
|
# enable = true;
|
2023-10-13 16:30:25 +02:00
|
|
|
#themePackages = [ pkgs.catppuccin-plymouth ];
|
|
|
|
#theme = "catppuccin-frappe";
|
2023-11-02 08:20:26 +01:00
|
|
|
# };
|
2023-07-26 13:36:06 +02:00
|
|
|
|
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;
|
2023-10-27 19:20:45 +02:00
|
|
|
|
|
|
|
# Re-Compile everything for my specific cpu
|
|
|
|
nix.settings.system-features = ["gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test"];
|
2023-10-27 19:28:07 +02:00
|
|
|
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
|
2023-11-02 08:20:26 +01:00
|
|
|
nixpkgs.hostPlatform = {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
config = "x86_64-unknown-linux-gnu";
|
2023-11-16 17:02:37 +01:00
|
|
|
# gcc.arch = "alderlake";
|
2023-11-02 08:20:26 +01:00
|
|
|
};
|
2023-05-16 14:55:15 +02:00
|
|
|
}
|