bluetooth

This commit is contained in:
Miguel Palhas
2024-10-06 16:51:29 +01:00
parent 08fb398ce2
commit 907321cc59
7 changed files with 40 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@
../common/programs/syncthing.nix ../common/programs/syncthing.nix
../common/features/colorscheme.nix ../common/features/colorscheme.nix
../common/features/xdg.nix ../common/features/xdg.nix
../common/features/bluetooth.nix
]; ];
home.sessionVariables = { home.sessionVariables = {
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
services.blueman.enable = true;
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
after = [
"network.target"
"sound.target"
];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
}
+1
View File
@@ -13,6 +13,7 @@
calibre calibre
gimp gimp
font-manager font-manager
imv
# communication # communication
slack slack
+10
View File
@@ -12,6 +12,7 @@ in
hyprcursor hyprcursor
avizo avizo
pamixer pamixer
hyprshot
]; ];
home.sessionVariables = { home.sessionVariables = {
@@ -86,6 +87,11 @@ in
"avizo-service" "avizo-service"
]; ];
windowrulev2 = [
"float, class:imv"
"move cursor -50% -50%, class:imv"
];
"$mod" = "SUPER"; "$mod" = "SUPER";
bind = [ bind = [
"$mod, t, exec, kitty" "$mod, t, exec, kitty"
@@ -98,6 +104,10 @@ in
# rofi # rofi
"$mod, space, exec, launcher_t2" "$mod, space, exec, launcher_t2"
# printscreen
", Print, exec, hyprshot -m region --output-folder ~/screenshots"
"SHIFT, Print, exec, hyprshot -m window --output-folder ~/screenshots"
# move focus with mod + arrows # move focus with mod + arrows
"$mod, h, movefocus, l" "$mod, h, movefocus, l"
"$mod, j, movefocus, d" "$mod, j, movefocus, d"
+1
View File
@@ -19,6 +19,7 @@ in
../common/features/docker.nix ../common/features/docker.nix
../common/features/fonts.nix ../common/features/fonts.nix
../common/features/nix-ld.nix ../common/features/nix-ld.nix
../common/features/bluetooth.nix
]; ];
networking.hostName = "arrakis"; networking.hostName = "arrakis";
+12
View File
@@ -0,0 +1,12 @@
{ pkgs, ... }:
{
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
};
};
};
}
+1 -1
View File
@@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
{ {
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ programs.nix-ld.libraries = with pkgs; [