asdf
This commit is contained in:
@@ -136,6 +136,10 @@ in {
|
|||||||
programs.wireshark.enable = true;
|
programs.wireshark.enable = true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
};
|
||||||
|
|
||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -11,18 +11,18 @@
|
|||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelParams =
|
boot.kernelParams =
|
||||||
[ "intel_iommu=on" "modprobe.blacklist=dvb_usb_rtl28xxu" ];
|
[ "intel_iommu=on" "modprobe.blacklist=dvb_usb_rtl28xxu" ];
|
||||||
boot.kernelModules = [ "kvm-intel" "vfio_pci" ];
|
boot.kernelModules = [ "kvm-intel" "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
# 1050 passthrough
|
# 1050 passthrough
|
||||||
boot.extraModprobeConfig = ""
|
boot.extraModprobeConfig = ""
|
||||||
# + "options vfio-pci ids=10de:1c81,10de:0fb9\n"
|
+ "options vfio-pci ids=10de:1c81,10de:0fb9\n"
|
||||||
+ ''
|
+ ''
|
||||||
options hid_apple fnmode=2
|
options hid_apple fnmode=2
|
||||||
'';
|
'';
|
||||||
# hid_apple -> remove AK68 keyboard F1-F12 not pressing issue
|
# hid_apple -> remove AK68 keyboard F1-F12 not pressing issue
|
||||||
|
|
||||||
boot.kernel.sysctl = { "hid_apple.fnmode" = 2; };
|
boot.kernel.sysctl = { "hid_apple.fnmode" = 2; "net.ipv4.ip_unprivileged_port_start" = 80; };
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
||||||
|
|||||||
@@ -14,4 +14,6 @@ with pkgs; [
|
|||||||
gawk
|
gawk
|
||||||
zstd
|
zstd
|
||||||
gnupg
|
gnupg
|
||||||
|
|
||||||
|
egl-wayland
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -61,4 +61,12 @@ with pkgs; [
|
|||||||
stm32cubemx
|
stm32cubemx
|
||||||
libarchive
|
libarchive
|
||||||
fritzing
|
fritzing
|
||||||
|
inkscape
|
||||||
|
sqlite
|
||||||
|
|
||||||
|
discordchatexporter-desktop
|
||||||
|
discordchatexporter-cli
|
||||||
|
|
||||||
|
tor-browser
|
||||||
|
gource
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -94,4 +94,7 @@ with pkgs; [
|
|||||||
parted
|
parted
|
||||||
mitmproxy
|
mitmproxy
|
||||||
drone-cli
|
drone-cli
|
||||||
|
tektoncd-cli
|
||||||
|
fx-cast-bridge
|
||||||
|
unixtools.arp
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,12 +1,18 @@
|
|||||||
# X display system config
|
# X display system config
|
||||||
|
|
||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.wacom.enable = true;
|
services.xserver.wacom.enable = true;
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia.open = false;
|
hardware.nvidia.open = false;
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
# services.xserver.displayManager.sddm.enable = true;
|
# services.xserver.displayManager.sddm.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user