GTK, appimage binfmt, and bluetooth
This commit is contained in:
parent
69c8c4777b
commit
ca023db81f
|
@ -10,19 +10,13 @@
|
|||
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 = {
|
||||
name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
accents = ["sapphire"];
|
||||
size = "compact";
|
||||
tweaks = ["rimless"];
|
||||
variant = "mocha";
|
||||
};
|
||||
gtk.theme = {
|
||||
name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
accents = ["sapphire"];
|
||||
size = "compact";
|
||||
tweaks = ["rimless"];
|
||||
variant = "mocha";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
# powerOnBoot = true; # this is the default
|
||||
};
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
|
||||
|
|
Loading…
Reference in a new issue