dumb and shady power management practices
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
# virtualisation.waydroid.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
|
||||
# fuck xitter
|
||||
networking.extraHosts = ''
|
||||
# Block Twitter (self-explanatory)
|
||||
0.0.0.0 platform.twitter.com
|
||||
0.0.0.0 api.twitter.com
|
||||
0.0.0.0 twitter.com
|
||||
@@ -71,7 +71,7 @@
|
||||
0.0.0.0 api.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 connect.essential.gg
|
||||
0.0.0.0 *.essential.gg
|
||||
@@ -79,6 +79,8 @@
|
||||
0.0.0.0 *.sparkuniverse.com
|
||||
'';
|
||||
|
||||
powerManagement.enable = true;
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
@@ -113,7 +115,7 @@
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
thefuck
|
||||
fontforge
|
||||
xclip
|
||||
gamescope
|
||||
fontforge-gtk
|
||||
deno
|
||||
wofi
|
||||
@@ -107,6 +108,7 @@
|
||||
gobject-introspection
|
||||
gimp
|
||||
mpv
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
initialPassword = "password";
|
||||
description = "${config.main-user.realName}";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" "input" "video" "libvirtd" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "input" "video" "libvirtd" "power" ];
|
||||
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 = {
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
|
||||
Reference in New Issue
Block a user