diff --git a/systems/NOlaptop.nix b/systems/NOlaptop.nix index c5e4da9..5738ca1 100644 --- a/systems/NOlaptop.nix +++ b/systems/NOlaptop.nix @@ -73,7 +73,7 @@ # ]; boot.kernelParams = [ "amdgpu.abmlevel=1" - "amdgpu.dcdebugmask=0x400" + # "amdgpu.dcdebugmask=0x400" ]; # boot.kernelModules = ["kvm-amd"]; powerManagement.cpuFreqGovernor = "powersave"; diff --git a/users/tao.nix b/users/tao.nix index 2723bac..ce8721a 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -6,6 +6,7 @@ ... }: { users.users.tao.packages = with pkgs; [ + piper mousai toastify man-pages @@ -118,6 +119,7 @@ services.udev.extraRules = '' KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" ''; + services.ratbagd.enable = true; boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index 45238d6..c34716a 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -69,7 +69,7 @@ def nr [package] { nix search nixpkgs $package } def rebuild --wrapped [subcommand, ...rest] { - if ((open /etc/hostname --raw) == "NOlaptop\n" and not (try {$rest | first | str starts-with "--builders"})) { + if ((open /etc/hostname --raw) == "NOlaptop\n" and not (try {$rest | first | str starts-with "--builders"} catch {true})) { sudo nix store info --store ssh://nocomputer } sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest