mirror of https://github.com/materusPL/Nixerus.git
configurations: update
This commit is contained in:
parent
c49ae08896
commit
672cac4c06
|
@ -26,7 +26,7 @@
|
||||||
};
|
};
|
||||||
programs.java = {
|
programs.java = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.graalvm17-ce;
|
package = pkgs.graalvm-ce;
|
||||||
binfmt = true;
|
binfmt = true;
|
||||||
};
|
};
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.papirus-icon-theme
|
pkgs.papirus-icon-theme
|
||||||
(materusPkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm17-ce ]; })
|
(materusPkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm-ce ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.papirus-icon-theme
|
pkgs.papirus-icon-theme
|
||||||
materusPkgs.ffmpeg6-amf-full
|
materusPkgs.ffmpeg6-amf-full
|
||||||
(materusPkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm17-ce ]; extraLibs = [ ]; })
|
(materusPkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.obs-studio = {
|
programs.obs-studio = {
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
let
|
let
|
||||||
video = [
|
video = [
|
||||||
|
|
||||||
#"video=DP-3:1920x1080@144"
|
|
||||||
"video=HDMI-A-3:1920x1080@144"
|
"video=HDMI-A-3:1920x1080@144"
|
||||||
|
"video=DP-3:1920x1080@240"
|
||||||
|
|
||||||
|
|
||||||
"video=DP-1:1920x1080@240"
|
#"video=DP-1:1920x1080@240"
|
||||||
#"video=DP-2:1920x1080@240"
|
#"video=DP-2:1920x1080@240"
|
||||||
#"video=HDMI-A-1:1920x1080@240"
|
#"video=HDMI-A-1:1920x1080@240"
|
||||||
#"video=HDMI-A-2:1920x1080@240"
|
#"video=HDMI-A-2:1920x1080@240"
|
||||||
|
@ -22,7 +23,10 @@ in
|
||||||
options kvm_amd nested=1 avic=1 npt=1
|
options kvm_amd nested=1 avic=1 npt=1
|
||||||
options vfio_iommu_type1 allow_unsafe_interrupts=1
|
options vfio_iommu_type1 allow_unsafe_interrupts=1
|
||||||
'';
|
'';
|
||||||
boot.kernel.sysctl = {"vm.max_map_count" = 1000000;};
|
boot.kernel.sysctl = {
|
||||||
|
"vm.max_map_count" = 1000000;
|
||||||
|
"vm.swappiness" = 10;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
{ config, pkgs, lib, inputs, materusFlake, materusPkgs, ... }:
|
{ config, pkgs, lib, inputs, materusFlake, materusPkgs, ... }:
|
||||||
let
|
|
||||||
pkg = import (builtins.fetchTarball {
|
|
||||||
name = "nixos-23.05";
|
|
||||||
url = "https://github.com/nixos/nixpkgs/archive/4ecab3273592f27479a583fb6d975d4aba3486fe.tar.gz";
|
|
||||||
sha256 = "sha256:10wn0l08j9lgqcw8177nh2ljrnxdrpri7bp0g7nvrsn9rkawvlbf";
|
|
||||||
}) {system = pkgs.system;};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
|
@ -45,7 +38,6 @@ in
|
||||||
materusPkgs.i686Linux.amdgpu-pro-libs.vulkan
|
materusPkgs.i686Linux.amdgpu-pro-libs.vulkan
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
];
|
];
|
||||||
users.groups.gpurun = {};
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
|
||||||
#GPU bar size
|
#GPU bar size
|
||||||
|
|
|
@ -10,7 +10,7 @@ let
|
||||||
keymap_layout=pl
|
keymap_layout=pl
|
||||||
|
|
||||||
[output]
|
[output]
|
||||||
name=DP-1
|
name=DP-3
|
||||||
mode=1920x1080@240
|
mode=1920x1080@240
|
||||||
|
|
||||||
[output]
|
[output]
|
||||||
|
@ -19,7 +19,7 @@ let
|
||||||
|
|
||||||
[output]
|
[output]
|
||||||
name=HDMI-A-3
|
name=HDMI-A-3
|
||||||
mode=1920x1080@144
|
mode=off
|
||||||
''
|
''
|
||||||
;
|
;
|
||||||
in
|
in
|
||||||
|
@ -29,13 +29,15 @@ in
|
||||||
services.xserver.displayManager.sddm.settings = {
|
services.xserver.displayManager.sddm.settings = {
|
||||||
General = {
|
General = {
|
||||||
DisplayServer = "wayland";
|
DisplayServer = "wayland";
|
||||||
|
InputMethod="";
|
||||||
};
|
};
|
||||||
Theme = {
|
Theme = {
|
||||||
CursorTheme = "breeze_cursors";
|
CursorTheme = "breeze_cursors";
|
||||||
CursorSize = "24";
|
CursorSize = "24";
|
||||||
};
|
};
|
||||||
Wayland = {
|
Wayland = {
|
||||||
#CompositorCommand = "${pkgs.weston}/bin/weston -c ${westonSddm}";
|
CompositorCommand = "${pkgs.weston}/bin/weston -c ${westonSddm}";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.networkmanager.wifi.backend = "iwd";
|
networking.networkmanager.wifi.backend = "iwd";
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 8080 ];
|
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 8080 9943 9944];
|
||||||
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 6000 ];
|
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 6000 9943 9944];
|
||||||
#Fix warning
|
#Fix warning
|
||||||
networking.networkmanager.extraConfig = lib.mkDefault ''
|
networking.networkmanager.extraConfig = lib.mkDefault ''
|
||||||
[connectivity]
|
[connectivity]
|
||||||
|
|
|
@ -117,6 +117,8 @@
|
||||||
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
||||||
XDG_DATA_HOME = "\${HOME}/.local/share";
|
XDG_DATA_HOME = "\${HOME}/.local/share";
|
||||||
|
|
||||||
|
SDL_AUDIODRIVER = "pipewire";
|
||||||
|
|
||||||
#SSH_ASKPASS_REQUIRE = "prefer";
|
#SSH_ASKPASS_REQUIRE = "prefer";
|
||||||
|
|
||||||
MOZ_USE_XINPUT2 = "1";
|
MOZ_USE_XINPUT2 = "1";
|
||||||
|
@ -171,7 +173,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
java.enable = true;
|
java.enable = true;
|
||||||
java.package = pkgs.graalvm17-ce;
|
java.package = pkgs.graalvm-ce;
|
||||||
java.binfmt = true;
|
java.binfmt = true;
|
||||||
command-not-found.enable = false;
|
command-not-found.enable = false;
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
|
|
|
@ -67,6 +67,7 @@ let
|
||||||
pkgs.jbig2enc
|
pkgs.jbig2enc
|
||||||
pkgs.jbig2dec
|
pkgs.jbig2dec
|
||||||
pkgs.vivaldi
|
pkgs.vivaldi
|
||||||
|
pkgs.x264.lib
|
||||||
pkgs.steamtinkerlaunch
|
pkgs.steamtinkerlaunch
|
||||||
|
|
||||||
] ++ config.materus.profile.packages.list.fonts;
|
] ++ config.materus.profile.packages.list.fonts;
|
||||||
|
|
Loading…
Reference in New Issue