dumb and shady power management practices
This commit is contained in:
@@ -62,8 +62,8 @@
|
|||||||
# virtualisation.waydroid.enable = true;
|
# virtualisation.waydroid.enable = true;
|
||||||
virtualisation.spiceUSBRedirection.enable = true;
|
virtualisation.spiceUSBRedirection.enable = true;
|
||||||
|
|
||||||
# fuck xitter
|
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
|
# Block Twitter (self-explanatory)
|
||||||
0.0.0.0 platform.twitter.com
|
0.0.0.0 platform.twitter.com
|
||||||
0.0.0.0 api.twitter.com
|
0.0.0.0 api.twitter.com
|
||||||
0.0.0.0 twitter.com
|
0.0.0.0 twitter.com
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
0.0.0.0 api.x.com
|
0.0.0.0 api.x.com
|
||||||
0.0.0.0 x.com
|
0.0.0.0 x.com
|
||||||
|
|
||||||
# block essential mod (https://www.youtube.com/watch?v=Vb5jJW5pOTg)
|
# Block Essential Mod (shady practices)
|
||||||
0.0.0.0 api.essential.gg
|
0.0.0.0 api.essential.gg
|
||||||
0.0.0.0 connect.essential.gg
|
0.0.0.0 connect.essential.gg
|
||||||
0.0.0.0 *.essential.gg
|
0.0.0.0 *.essential.gg
|
||||||
@@ -79,6 +79,8 @@
|
|||||||
0.0.0.0 *.sparkuniverse.com
|
0.0.0.0 *.sparkuniverse.com
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
powerManagement.enable = true;
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
@@ -113,7 +115,7 @@
|
|||||||
theme = "robbyrussell";
|
theme = "robbyrussell";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nixos_rebuild = "sudo nixos-rebuild switch --flake .#default --impure --cores 4 -L --upgrade";
|
nixrebuild = "sudo nixos-rebuild switch --flake .#default --impure --cores 4 -L --upgrade";
|
||||||
neofetch = "fastfetch";
|
neofetch = "fastfetch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
thefuck
|
thefuck
|
||||||
fontforge
|
fontforge
|
||||||
xclip
|
xclip
|
||||||
|
gamescope
|
||||||
fontforge-gtk
|
fontforge-gtk
|
||||||
deno
|
deno
|
||||||
wofi
|
wofi
|
||||||
@@ -107,6 +108,7 @@
|
|||||||
gobject-introspection
|
gobject-introspection
|
||||||
gimp
|
gimp
|
||||||
mpv
|
mpv
|
||||||
|
nixfmt-rfc-style
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
description = "${config.main-user.realName}";
|
description = "${config.main-user.realName}";
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
extraGroups = [ "networkmanager" "wheel" "input" "video" "libvirtd" ];
|
extraGroups = [ "networkmanager" "wheel" "input" "video" "libvirtd" "power" ];
|
||||||
packages = config.main-user.packages;
|
packages = config.main-user.packages;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
boot.extraModprobeConfig = ''options nvidia_drm modeset=1 fbdev=1'';
|
# options nvidia NVreg_PreserveVideoMemoryAllocations=1
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options nvidia_drm modeset=1 fbdev=1
|
||||||
|
'';
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
LIBVA_DRIVER_NAME = "nvidia";
|
LIBVA_DRIVER_NAME = "nvidia";
|
||||||
|
|||||||
Reference in New Issue
Block a user