Compare commits

...

2 commits

Author SHA1 Message Date
9008367ef1 aigis: get more things working~ 2024-11-16 22:18:57 -07:00
36bedc698c aigis: add power saving 2024-11-16 21:37:13 -07:00
8 changed files with 21 additions and 9 deletions

View file

@ -371,7 +371,11 @@
system = "aarch64-linux";
specialArgs = mkSpecialArgs system;
modules = linuxGuiModules [ ./nixos/hosts/aigis.nix ];
modules = linuxGuiModules [
./nixos/hosts/aigis.nix
./nixos/configs/power-saving.nix
];
};
# Nomon (TMLLC aarch64-linux, broadcom-silicon, test machine).

View file

@ -16,7 +16,10 @@
home.file.".talon/bin/talon" = {
enable = pkgs.stdenv.isLinux;
executable = true;
text = ''
text = if pkgs.stdenv.isAarch64 then
"" # FIXME TODO
else
''
#!${pkgs.bash}/bin/bash
set -ue
base=/home/deprekated/.talon/core

View file

@ -6,7 +6,7 @@
{ config, pkgs, ... }:
{
# Keep our thermals nice and happy.
services.thermald.enable = true;
services.thermald.enable = !pkgs.stdenv.isAarch64;
# Set up a power saving policy manager.
services.tlp = {

View file

@ -4,7 +4,7 @@
{ pkgs, ... }:
{
programs.steam = {
enable = true;
enable = !pkgs.stdenv.isAarch64;
# Start our steam with appropriate environment vars set.
package = pkgs.steam.override {

View file

@ -90,8 +90,9 @@
services.udev.packages = [
pkgs.minipro
] ++ (if pkgs.stdenv.isAarch64 then [] else [
talon.default
];
]);
services.fwupd.enable = true;

View file

@ -66,7 +66,6 @@ with pkgs;
pavucontrol
deprekages.argos
tidal-hifi
steam
vlc
]
@ -159,6 +158,7 @@ with pkgs;
deprekages.home-assistant-desktop
bitwig-studio
calibre
steam
]
else
[ ]

View file

@ -31,7 +31,7 @@ let
binary-ninja = stdenv.mkDerivation {
pname = "binary-ninja";
version = "4.0.4958";
version = "4.0.5902";
buildInputs = [
autoPatchelfHook
@ -58,7 +58,11 @@ let
# Use our local zip directly.
dontBuild = true;
src = ../proprietary/binja/binaryninja_personal_linux.zip;
src = if stdenv.isAarch64 then
../proprietary/binja/binaryninja_personal_linux_aarch64.zip
else
../proprietary/binja/binaryninja_personal_linux_x64.zip;
installPhase = ''
mkdir -p $out/opt

@ -1 +1 @@
Subproject commit 2320a602b644f6a3f552f8015418fae2712a209b
Subproject commit 6cb772104547058cb310c381f9f50e31d02dd514