make sure bluetooth persists even after reboot

This commit is contained in:
christoph.hollizeck 2024-03-27 15:00:02 +01:00 committed by Christoph Hollizeck
parent ff78383e6d
commit 52e2d9faf5
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
7 changed files with 72 additions and 60 deletions

View file

@ -13,70 +13,71 @@ in {
enable = mkBoolOpt true "Whether or not to enable the fish shell";
};
config = mkIf cfg.enable {
home.packages = with pkgs.fishPlugins; [
forgit
sponge
];
config =
mkIf cfg.enable {
home.packages = with pkgs.fishPlugins; [
forgit
sponge
];
programs = {
fish = {
enable = true;
shellInit = "
programs = {
fish = {
enable = true;
shellInit = "
zoxide init fish | source
starship init fish | source
";
shellAliases = {
vim = "nvim";
ls = "colorls --gs";
l = "ls -l";
la = "ls -a";
lla = "ls -la";
lt = "ls --tree";
};
};
starship = {
enable = true;
enableTransience = true;
settings = {
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red) ";
vicmd_symbol = "[](bold blue) ";
};
time = {
disabled = false;
time_format = "%T";
utc_time_offset = "+1";
};
username = {
style_user = "#00de00";
style_root = "red";
format = "[$user]($style) ";
disabled = false;
show_always = true;
};
hostname = {
ssh_only = false;
format = "@ [$hostname](bold yellow) ";
disabled = false;
};
directory = {
home_symbol = "󰋞 ~";
read_only_style = "197";
read_only = " ";
format = "at [$path]($style)[$read_only]($read_only_style) ";
shellAliases = {
vim = "nvim";
ls = "colorls --gs";
l = "ls -l";
la = "ls -a";
lla = "ls -la";
lt = "ls --tree";
};
};
};
zoxide = {
enable = true;
options = [
"--cmd cd"
];
starship = {
enable = true;
enableTransience = true;
settings = {
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red) ";
vicmd_symbol = "[](bold blue) ";
};
time = {
disabled = false;
time_format = "%T";
utc_time_offset = "+1";
};
username = {
style_user = "#00de00";
style_root = "red";
format = "[$user]($style) ";
disabled = false;
show_always = true;
};
hostname = {
ssh_only = false;
format = "@ [$hostname](bold yellow) ";
disabled = false;
};
directory = {
home_symbol = "󰋞 ~";
read_only_style = "197";
read_only = " ";
format = "at [$path]($style)[$read_only]($read_only_style) ";
};
};
};
zoxide = {
enable = true;
options = [
"--cmd cd"
];
};
};
};
};
}

View file

@ -23,7 +23,7 @@ in {
lfs = enabled;
extraConfig = {
init = {defaultBranch = "main";};
pull = {rebase = false;};
pull = {rebase = false;};
push = {autoSetupRemote = true;};
};
};