From 3f9eed307f8d02d9f7b8dd06f31853feb3e1aec8 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Tue, 2 Apr 2024 00:11:28 +0100 Subject: [PATCH] . --- hosts/default/configuration.nix | 2 ++ hosts/default/home.nix | 5 +++++ modules/desktop/bluetooth.nix | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 modules/desktop/bluetooth.nix diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 93f6964..1fd8f5a 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -161,6 +161,7 @@ nixpkgs.overlays = [ }; home-manager = { + useGlobalPkgs = true; extraSpecialArgs = { inherit inputs; }; users = { "liamm" = import ./home.nix; @@ -195,6 +196,7 @@ nixpkgs.overlays = [ extraPortals = with pkgs;[ xdg-desktop-portal-gtk xdg-desktop-portal-wlr + xdg-desktop-portal-hyprland ]; config = { common = { diff --git a/hosts/default/home.nix b/hosts/default/home.nix index b1ad155..01d138d 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -7,6 +7,7 @@ imports = [ ../../modules/home-manager/dunst.nix ../../modules/home-manager/terminals/alacritty.nix + ../../modules/desktop/bluetooth.nix ]; # You should not change this value, even if you update Home Manager. If you do # want to update the value, then make sure to first check the Home Manager @@ -36,10 +37,12 @@ gnome.gnome-keyring gnome.gvfs gnome.nautilus + grim grimblast # gvfs htop keepassxc + libsForQt5.polkit-kde-agent libtool libreoffice minecraft @@ -59,6 +62,7 @@ thunderbird tree wev + xdg-user-dirs # etcher ## Currently Uses Electron-19 -- which is marked EOL ]; @@ -244,6 +248,7 @@ # BEGIN SERVICES services = { blueman-applet.enable = true; + network-manager-applet.enable = true; emacs = { enable = true; package = pkgs.emacs-gtk; diff --git a/modules/desktop/bluetooth.nix b/modules/desktop/bluetooth.nix new file mode 100644 index 0000000..9f602ca --- /dev/null +++ b/modules/desktop/bluetooth.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ blueman ]; + services = { + mpris-proxy.enable = true; + blueman-applet.enable = true; + }; +}