Merge branch 'main' of github.com:bloxx12/nichts
This commit is contained in:
commit
6680e4e630
6 changed files with 31 additions and 2 deletions
|
@ -34,7 +34,8 @@
|
||||||
profiling = false;
|
profiling = false;
|
||||||
extraAliases = {
|
extraAliases = {
|
||||||
cls = "clear";
|
cls = "clear";
|
||||||
Hyprland = "dbus-run-session Hyprland";
|
Hyprland = "dbus-run-session Hyprland";
|
||||||
|
y = "yazi";
|
||||||
};
|
};
|
||||||
ohmyzsh = {
|
ohmyzsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -112,6 +113,10 @@
|
||||||
twingate.enable = true;
|
twingate.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# SSH AGENT
|
||||||
|
programs.ssh.startAgent = true;
|
||||||
|
services.gnome3.gnome-keyring.enable = false;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,5 +5,6 @@ _: {
|
||||||
../../../options/common/networking.nix
|
../../../options/common/networking.nix
|
||||||
../../../options/common/pin-registry.nix
|
../../../options/common/pin-registry.nix
|
||||||
../../../options/common/preserve-system.nix
|
../../../options/common/preserve-system.nix
|
||||||
|
../../../options/common/bluetooth.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,6 +107,7 @@ in {
|
||||||
"$mod, o, exec, obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
"$mod, o, exec, obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
||||||
"$mod SHIFT, D, exec, webcord --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
"$mod SHIFT, D, exec, webcord --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
||||||
"$mod SHIFT, L, exec, element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
"$mod SHIFT, L, exec, element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
||||||
|
"$mod, v, exec, vivaldi --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu"
|
||||||
|
|
||||||
# Monitor management
|
# Monitor management
|
||||||
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"
|
"$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"
|
||||||
|
|
|
@ -6,5 +6,6 @@ _: {
|
||||||
../../../options/common/gpu/nvidia.nix
|
../../../options/common/gpu/nvidia.nix
|
||||||
../../../options/common/pin-registry.nix
|
../../../options/common/pin-registry.nix
|
||||||
../../../options/common/preserve-system.nix
|
../../../options/common/preserve-system.nix
|
||||||
|
../../../options/common/bluetooth.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,8 +56,10 @@ in {
|
||||||
xdg-utils # xdg-mime script
|
xdg-utils # xdg-mime script
|
||||||
webcord
|
webcord
|
||||||
element-desktop
|
element-desktop
|
||||||
swww
|
swww
|
||||||
toipe
|
toipe
|
||||||
|
keepassxc
|
||||||
|
vivaldi
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
19
options/common/bluetooth.nix
Normal file
19
options/common/bluetooth.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
username = config.modules.other.system.username;
|
||||||
|
in {
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
# Bluetooth headset media control buttons
|
||||||
|
systemd.user.services.mpris-proxy = {
|
||||||
|
description = "Mpris proxy";
|
||||||
|
after = [ "network.target" "sound.target" ];
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue