try xanmod

This commit is contained in:
Kopatz
2024-12-15 13:51:16 +01:00
parent 4a7b650402
commit 786b315fbf
5 changed files with 28 additions and 16 deletions

View File

@@ -32,6 +32,7 @@ in {
winetricks winetricks
lutris lutris
prismlauncher prismlauncher
steamtinkerlaunch
#tetrio-desktop #fuck you osk #tetrio-desktop #fuck you osk
#libs #libs
]); ]);

View File

@@ -97,6 +97,14 @@ in {
return 301 /comms/; return 301 /comms/;
''; '';
}; };
"/kavita-client" = {
extraConfig = ''
return 301 /kavita-client/;
'';
};
"/kavita-client/" = {
alias = "/kavita-client/";
};
}; };
}; };
in { in {

View File

@@ -0,0 +1,4 @@
{ pkgs, ... }: {
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.kernelModules = [ "ntsync" ];
}

View File

@@ -15,17 +15,16 @@ in {
discord = prev.discord-canary.override { withVencord = true; }; discord = prev.discord-canary.override { withVencord = true; };
#discord = prev.vesktop; #discord = prev.vesktop;
tetrio-desktop = prev.tetrio-desktop.override { withTetrioPlus = true; }; tetrio-desktop = prev.tetrio-desktop.override { withTetrioPlus = true; };
#hyprland = prev.hyprland.overrideAttrs (oldAttrs: { #hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
# version = "0.45.0"; # version = "0.45.0";
# src = prev.fetchFromGitHub {
# src = prev.fetchFromGitHub { # owner = "hyprwm";
# owner = "hyprwm"; # repo = "hyprland";
# repo = "hyprland"; # fetchSubmodules = true;
# fetchSubmodules = true; # rev = "refs/tags/v0.45.0";
# rev = "refs/tags/v0.45.0"; # hash = "sha256-//Ib7gXCA8jq8c+QGTTIO0oH0rUYYBXGp8sqpI1jlhA=";
# hash = "sha256-//Ib7gXCA8jq8c+QGTTIO0oH0rUYYBXGp8sqpI1jlhA="; # };
# }; #});
#});
# mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; # mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
#}); #});

View File

@@ -2,12 +2,13 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }: { { config, pkgs, lib, inputs, ... }: {
imports = [ # Include the results of the hardware scan. imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/flatpak.nix ../../modules/flatpak.nix
../../modules/gpg.nix ../../modules/gpg.nix
../../modules/kernel.nix # use latest kernel ../../modules/xanmod-kernel.nix
#../../modules/kernel.nix
../../modules/services/syncthing.nix ../../modules/services/syncthing.nix
../../modules/support/ntfs.nix ../../modules/support/ntfs.nix
]; ];
@@ -81,7 +82,7 @@
enable = false; enable = false;
acceleration = "cuda"; acceleration = "cuda";
}; };
virtualisation.waydroid.enable = true;
# apple shit # apple shit
services.usbmuxd.enable = true; services.usbmuxd.enable = true;
@@ -90,8 +91,7 @@
ifuse # optional, to mount using 'ifuse' ifuse # optional, to mount using 'ifuse'
]; ];
nixpkgs.config.permittedInsecurePackages = nixpkgs.config.permittedInsecurePackages = [ "electron-27.3.11" ];
[ "electron-27.3.11" ];
networking.firewall.allowedTCPPorts = [ 6567 ]; # mindustry networking.firewall.allowedTCPPorts = [ 6567 ]; # mindustry
networking.firewall.allowedUDPPorts = [ 6567 ]; # mindustry networking.firewall.allowedUDPPorts = [ 6567 ]; # mindustry