try xanmod
This commit is contained in:
@@ -32,6 +32,7 @@ in {
|
||||
winetricks
|
||||
lutris
|
||||
prismlauncher
|
||||
steamtinkerlaunch
|
||||
#tetrio-desktop #fuck you osk
|
||||
#libs
|
||||
]);
|
||||
|
||||
@@ -97,6 +97,14 @@ in {
|
||||
return 301 /comms/;
|
||||
'';
|
||||
};
|
||||
"/kavita-client" = {
|
||||
extraConfig = ''
|
||||
return 301 /kavita-client/;
|
||||
'';
|
||||
};
|
||||
"/kavita-client/" = {
|
||||
alias = "/kavita-client/";
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
|
||||
4
modules/xanmod-kernel.nix
Normal file
4
modules/xanmod-kernel.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ pkgs, ... }: {
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
boot.kernelModules = [ "ntsync" ];
|
||||
}
|
||||
21
overlays.nix
21
overlays.nix
@@ -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" ];
|
||||
#});
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user