GTK, appimage binfmt, and bluetooth

This commit is contained in:
Daniel Flanagan 2024-06-06 10:53:21 -05:00
parent 69c8c4777b
commit ca023db81f
3 changed files with 9 additions and 25 deletions

View file

@ -10,12 +10,7 @@
firefox
];
gtk = {
enable = true;
# Currently failing: https://github.com/NixOS/nixpkgs/issues/298043
# Overlay from https://github.com/NixOS/nixpkgs/issues/298043#issuecomment-2015319496
# Fix on master but not yet in unstable https://github.com/NixOS/nixpkgs/pull/297683
theme = {
gtk.theme = {
name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["sapphire"];
@ -24,7 +19,6 @@
variant = "mocha";
};
};
};
home.pointerCursor = {
name = "Bibata-Modern-Classic";

View file

@ -1,14 +1,4 @@
{pkgs, ...}: {
# enable flatpaks
services.flatpak.enable = true;
# enable appimages
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
programs.appimage.binfmt = true;
}

View file

@ -144,7 +144,7 @@
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
# powerOnBoot = true; # this is the default
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";