From 175cb70fa165a84c61a089c295fadb3d80270c23 Mon Sep 17 00:00:00 2001 From: get Date: Tue, 16 Apr 2024 11:33:53 +0200 Subject: [PATCH 1/7] Added keepassxc --- hosts/lars/programs.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index 35d5eee..f8395b6 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -56,8 +56,9 @@ in { xdg-utils # xdg-mime script webcord element-desktop - swww + swww toipe + keepassxc ]; }; } From 01f33b5b7e73561449a85197e4855e35dc20ce35 Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 11:40:38 +0200 Subject: [PATCH 2/7] Yazi alias added --- hosts/lars/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/lars/default.nix b/hosts/lars/default.nix index 6915250..345e8cb 100644 --- a/hosts/lars/default.nix +++ b/hosts/lars/default.nix @@ -34,7 +34,8 @@ profiling = false; extraAliases = { cls = "clear"; - Hyprland = "dbus-run-session Hyprland"; + Hyprland = "dbus-run-session Hyprland"; + y = "yazi"; }; ohmyzsh = { enable = true; From 25758c0bb92b27538c92c97e07419e7107143649 Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 12:28:49 +0200 Subject: [PATCH 3/7] ssh-agent --- hosts/lars/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/lars/default.nix b/hosts/lars/default.nix index 345e8cb..218cf09 100644 --- a/hosts/lars/default.nix +++ b/hosts/lars/default.nix @@ -113,6 +113,9 @@ twingate.enable = true; }; + # SSH AGENT + programs.ssh.startAgent = true; + system.stateVersion = "23.11"; nix.settings.experimental-features = ["nix-command" "flakes"]; } From f8ed1c2c6c821f525602e0fe4fd161dc3f23b686 Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 15:26:58 +0200 Subject: [PATCH 4/7] disable gnome keyring --- hosts/lars/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/lars/default.nix b/hosts/lars/default.nix index 218cf09..448437f 100644 --- a/hosts/lars/default.nix +++ b/hosts/lars/default.nix @@ -115,6 +115,7 @@ # SSH AGENT programs.ssh.startAgent = true; + services.gnome3.gnome-keyring.enable = false; system.stateVersion = "23.11"; nix.settings.experimental-features = ["nix-command" "flakes"]; From 77f5c691a3a547b481ccdca3e82957562bccca4e Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 15:27:03 +0200 Subject: [PATCH 5/7] add bluetooth client --- hosts/lars/programs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index f8395b6..e4b0fee 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -59,6 +59,7 @@ in { swww toipe keepassxc + bluetuith ]; }; } From 53a5840d643c5155ad5ab75ec96b9509df73e424 Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 16:04:17 +0200 Subject: [PATCH 6/7] Bluetooth --- hosts/lars/dyonisos/profile.nix | 1 + hosts/lars/kronos/profile.nix | 1 + hosts/lars/programs.nix | 1 - options/common/bluetooth.nix | 19 +++++++++++++++++++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 options/common/bluetooth.nix diff --git a/hosts/lars/dyonisos/profile.nix b/hosts/lars/dyonisos/profile.nix index d4fe1e8..33aae1b 100644 --- a/hosts/lars/dyonisos/profile.nix +++ b/hosts/lars/dyonisos/profile.nix @@ -5,5 +5,6 @@ _: { ../../../options/common/networking.nix ../../../options/common/pin-registry.nix ../../../options/common/preserve-system.nix + ../../../options/common/bluetooth.nix ]; } diff --git a/hosts/lars/kronos/profile.nix b/hosts/lars/kronos/profile.nix index 30407f5..e567018 100644 --- a/hosts/lars/kronos/profile.nix +++ b/hosts/lars/kronos/profile.nix @@ -6,5 +6,6 @@ _: { ../../../options/common/gpu/nvidia.nix ../../../options/common/pin-registry.nix ../../../options/common/preserve-system.nix + ../../../options/common/bluetooth.nix ]; } diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index e4b0fee..f8395b6 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -59,7 +59,6 @@ in { swww toipe keepassxc - bluetuith ]; }; } diff --git a/options/common/bluetooth.nix b/options/common/bluetooth.nix new file mode 100644 index 0000000..3d24814 --- /dev/null +++ b/options/common/bluetooth.nix @@ -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"; + }; +} From b7b00e335930eb2b49afc02ec6824591c7ec690d Mon Sep 17 00:00:00 2001 From: larszauberer Date: Tue, 16 Apr 2024 20:25:10 +0200 Subject: [PATCH 7/7] Vivaldi added --- hosts/lars/hyprland.nix | 1 + hosts/lars/programs.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix index 1299063..d17ead0 100644 --- a/hosts/lars/hyprland.nix +++ b/hosts/lars/hyprland.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 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, v, exec, vivaldi --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" # Monitor management "$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2" diff --git a/hosts/lars/programs.nix b/hosts/lars/programs.nix index f8395b6..6198624 100644 --- a/hosts/lars/programs.nix +++ b/hosts/lars/programs.nix @@ -59,6 +59,7 @@ in { swww toipe keepassxc + vivaldi ]; }; }