home/portals,archangel/bluetooth

This commit is contained in:
tulg 2026-01-09 18:20:49 +03:00
parent 7a44cd9e6b
commit 3599d9c057
4 changed files with 35 additions and 22 deletions

View file

@ -1,7 +1,7 @@
background_opacity 0.3
enable_audio_bell no
enable_wayland_portal no
detect_system_theme no
# BEGIN_KITTY_THEME
# Rosé Pine Moon
#include current-theme.conf

View file

@ -48,6 +48,28 @@
# Set your time zone.
time.timeZone = "Europe/Istanbul";
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
# Shows battery charge of connected devices on supported
# Bluetooth adapters. Defaults to 'false'.
Experimental = true;
# When enabled other devices can connect faster to us, however
# the tradeoff is increased power consumption. Defaults to
# 'false'.
FastConnectable = true;
};
Policy = {
# Enable all controllers when they are found. This includes
# adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'true'.
AutoEnable = true;
};
};
};
services.blueman.enable = true;
# Select internationalisation properties.
services.getty.autologinUser = "tulg";
programs.hyprland = {
@ -117,10 +139,11 @@
};
powerManagement.powertop.enable = true;
services.upower.enable = true;
services = {
power-profiles-daemon.enable = false;
power-profiles-daemon.enable = true;
tlp = {
enable = true;
enable = false;
settings = {
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;

View file

@ -17,17 +17,6 @@
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/48340a1a-5055-4d72-b83b-db57a3a7e230";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/5292-3A27";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View file

@ -152,15 +152,16 @@ in {
home.sessionVariables = {
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
QT_QPA_PLATFORM = "wayland";
KITTY_DISABLE_WAYLAND_PORTAL=1;
};
xdg.portal = {
enable = true;
config.common.default = "*";
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
enable = true;
# wlr.enable = true;
config.common.default = "hyprland";
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
];
};
}