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
lutris
prismlauncher
steamtinkerlaunch
#tetrio-desktop #fuck you osk
#libs
]);

View File

@@ -97,6 +97,14 @@ in {
return 301 /comms/;
'';
};
"/kavita-client" = {
extraConfig = ''
return 301 /kavita-client/;
'';
};
"/kavita-client/" = {
alias = "/kavita-client/";
};
};
};
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.vesktop;
tetrio-desktop = prev.tetrio-desktop.override { withTetrioPlus = true; };
#hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
# version = "0.45.0";
# src = prev.fetchFromGitHub {
# owner = "hyprwm";
# repo = "hyprland";
# fetchSubmodules = true;
# rev = "refs/tags/v0.45.0";
# hash = "sha256-//Ib7gXCA8jq8c+QGTTIO0oH0rUYYBXGp8sqpI1jlhA=";
# };
#});
#hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
# version = "0.45.0";
# src = prev.fetchFromGitHub {
# owner = "hyprwm";
# repo = "hyprland";
# fetchSubmodules = true;
# rev = "refs/tags/v0.45.0";
# hash = "sha256-//Ib7gXCA8jq8c+QGTTIO0oH0rUYYBXGp8sqpI1jlhA=";
# };
#});
# mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
#});

View File

@@ -2,12 +2,13 @@
# your system. Help is available in the configuration.nix(5) man page
# 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.
./hardware-configuration.nix
../../modules/flatpak.nix
../../modules/gpg.nix
../../modules/kernel.nix # use latest kernel
../../modules/xanmod-kernel.nix
#../../modules/kernel.nix
../../modules/services/syncthing.nix
../../modules/support/ntfs.nix
];
@@ -81,7 +82,7 @@
enable = false;
acceleration = "cuda";
};
virtualisation.waydroid.enable = true;
# apple shit
services.usbmuxd.enable = true;
@@ -90,8 +91,7 @@
ifuse # optional, to mount using 'ifuse'
];
nixpkgs.config.permittedInsecurePackages =
[ "electron-27.3.11" ];
nixpkgs.config.permittedInsecurePackages = [ "electron-27.3.11" ];
networking.firewall.allowedTCPPorts = [ 6567 ]; # mindustry
networking.firewall.allowedUDPPorts = [ 6567 ]; # mindustry