make sure bluetooth persists even after reboot

This commit is contained in:
christoph.hollizeck 2024-03-27 15:00:02 +01:00
parent 6f81c7c6e4
commit d84f355ede
7 changed files with 72 additions and 60 deletions

View file

@ -13,7 +13,8 @@ in {
enable = mkBoolOpt true "Whether or not to enable the fish shell"; enable = mkBoolOpt true "Whether or not to enable the fish shell";
}; };
config = mkIf cfg.enable { config =
mkIf cfg.enable {
home.packages = with pkgs.fishPlugins; [ home.packages = with pkgs.fishPlugins; [
forgit forgit
sponge sponge

View file

@ -22,6 +22,10 @@ in {
socials = enabled; socials = enabled;
}; };
system.hardware = {
audio = enabled;
};
apps = { apps = {
vivaldi = enabled; vivaldi = enabled;
}; };

View file

@ -18,5 +18,11 @@ in {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;
}; };
fileSystems."/var/lib/bluetooth" = {
device = "/persist/var/lib/bluetooth";
options = ["bind" "noauto" "x-systemd.automount"];
noCheck = true;
};
}; };
} }

View file

@ -12,7 +12,6 @@ with lib.wyrdgard; {
virtualisation.hypervGuest.videoMode = "1920x1080"; virtualisation.hypervGuest.videoMode = "1920x1080";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
environment.variables.EDITOR = "nvim"; environment.variables.EDITOR = "nvim";

View file

@ -39,6 +39,8 @@ with lib.wyrdgard; {
discord = enabled; discord = enabled;
_1password = enabled; _1password = enabled;
}; };
system.hardware.bluetooth = enabled;
}; };
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];