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 firefox
]; ];
gtk = { gtk.theme = {
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 = {
name = "Catppuccin-Mocha-Compact-Sapphire-Dark"; name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
package = pkgs.catppuccin-gtk.override { package = pkgs.catppuccin-gtk.override {
accents = ["sapphire"]; accents = ["sapphire"];
@ -24,7 +19,6 @@
variant = "mocha"; variant = "mocha";
}; };
}; };
};
home.pointerCursor = { home.pointerCursor = {
name = "Bibata-Modern-Classic"; name = "Bibata-Modern-Classic";

View file

@ -1,14 +1,4 @@
{pkgs, ...}: { {pkgs, ...}: {
# enable flatpaks
services.flatpak.enable = true; services.flatpak.enable = true;
programs.appimage.binfmt = 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'';
};
} }

View file

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