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,19 +10,13 @@
firefox firefox
]; ];
gtk = { gtk.theme = {
enable = true; name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
# Currently failing: https://github.com/NixOS/nixpkgs/issues/298043 package = pkgs.catppuccin-gtk.override {
# Overlay from https://github.com/NixOS/nixpkgs/issues/298043#issuecomment-2015319496 accents = ["sapphire"];
# Fix on master but not yet in unstable https://github.com/NixOS/nixpkgs/pull/297683 size = "compact";
theme = { tweaks = ["rimless"];
name = "Catppuccin-Mocha-Compact-Sapphire-Dark"; variant = "mocha";
package = pkgs.catppuccin-gtk.override {
accents = ["sapphire"];
size = "compact";
tweaks = ["rimless"];
variant = "mocha";
};
}; };
}; };

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";