make sure bluetooth persists even after reboot
This commit is contained in:
parent
6f81c7c6e4
commit
d84f355ede
|
@ -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
|
||||||
|
|
|
@ -22,6 +22,10 @@ in {
|
||||||
socials = enabled;
|
socials = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.hardware = {
|
||||||
|
audio = enabled;
|
||||||
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
vivaldi = enabled;
|
vivaldi = enabled;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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"];
|
||||||
|
|
Loading…
Reference in a new issue