From c7748dd2068d740bc41ee9338ea634d856711c65 Mon Sep 17 00:00:00 2001 From: LarsZauberer Date: Thu, 25 Apr 2024 08:28:37 +0200 Subject: [PATCH 1/2] Remove element from autostart --- hosts/lars/hyprland.nix | 2 +- modules/other/xdg.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix index cd12319..e1b3ad5 100644 --- a/hosts/lars/hyprland.nix +++ b/hosts/lars/hyprland.nix @@ -93,7 +93,7 @@ in { "swww init & swww img ${gitPath}/${cfg.wallpaper}" "keepassxc" "nextcloud" - "element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" + # "element-desktop --ozone-platform=wayland --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --enable-features=WebRTCPipeWireCpaturer --disable-gpu" ]; bind = [ diff --git a/modules/other/xdg.nix b/modules/other/xdg.nix index 2b71588..f22afba 100644 --- a/modules/other/xdg.nix +++ b/modules/other/xdg.nix @@ -11,6 +11,7 @@ media_player = "mpv.desktop"; image_viewer = "imv.desktop"; text_editor = "nvim.desktop"; + terminal = "alacritty.desktop"; in { /* environment.sessionVariables = { @@ -42,6 +43,9 @@ in { xdg-desktop-portal-gtk ]; }; + environment.sessionVariables = { + TERMINAL = "${terminal}"; + }; home-manager.users.${username} = { xdg.configFile."npm/npmrc".text = '' From f31c1b3167e7a80b46912fa4dccaf08d410304c9 Mon Sep 17 00:00:00 2001 From: LarsZauberer Date: Sat, 27 Apr 2024 21:31:24 +0200 Subject: [PATCH 2/2] Added teamspeak to download --- hosts/lars/kronos/programs.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/lars/kronos/programs.nix b/hosts/lars/kronos/programs.nix index 80f4b07..04caf49 100644 --- a/hosts/lars/kronos/programs.nix +++ b/hosts/lars/kronos/programs.nix @@ -1,6 +1,6 @@ -{ config, lib, pkgs, ... }: - +{ config, lib, pkgs, inputs, ... }: let + username = config.modules.other.system.username; newer_egl-wayland = self: super: { egl-wayland = super.xwayland.overrideAttrs (prev: { # version = "23.2.6-HEAD"; @@ -18,4 +18,12 @@ in environment.systemPackages = with pkgs; [ egl-wayland ]; + home-manager.users.${username} = { + home.packages = let + fenix = inputs.fenix.packages.${pkgs.system}; + + in with pkgs; [ + teamspeak_client + ]; + }; }