Compare commits
No commits in common. "7fbd0bac09798fe21d8ff68b3f56db42f801020b" and "5f02467ae565634af4832be03408e507e2268946" have entirely different histories.
7fbd0bac09
...
5f02467ae5
3 changed files with 28 additions and 28 deletions
|
@ -56,7 +56,7 @@ handle_signal() {
|
|||
kill -9 $sub_timer_pid
|
||||
sub_timer_pid=0
|
||||
timer_state_state="inactive"
|
||||
timer_state_progress=100000
|
||||
timer_state_progress=100
|
||||
update_timer_state
|
||||
else
|
||||
start_timer "work" &
|
||||
|
|
|
@ -52,6 +52,33 @@
|
|||
podman-compose
|
||||
];
|
||||
|
||||
# NVIDIA
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
# NVIDIA
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
# Steam
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
|
||||
open = false; # Bruuh
|
||||
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:7:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
#Podman
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
boot = {
|
||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
|
||||
kernelModules = ["kvm-amd"];
|
||||
kernelParams = ["mem_sleep_default=deep"]; # Should fix/change suspend method
|
||||
extraModulePackages = [];
|
||||
initrd = {
|
||||
availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
|
||||
|
@ -33,32 +32,6 @@
|
|||
tmp.useTmpfs = true;
|
||||
};
|
||||
|
||||
#NVIDIA
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
];
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
hardware.opengl.enable = true;
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
|
||||
open = false; # Bruuh
|
||||
|
||||
prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
amdgpuBusId = "PCI:7:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
|
|
Loading…
Reference in a new issue