From eafba50214260dacc384b8194b0fa9727b2d5507 Mon Sep 17 00:00:00 2001 From: worble Date: Mon, 13 Jan 2025 17:36:49 +0000 Subject: [PATCH] add arguments to update flake; add xdg icon fallback; organised applications in home manager --- configuration/kde.nix | 3 +++ home-manager/firefox/firefox.nix | 2 +- starlite/home.nix | 21 ++++++++++++++++----- tuxedo/home.nix | 27 +++++++++++++++++++-------- update.sh | 3 ++- 5 files changed, 41 insertions(+), 15 deletions(-) diff --git a/configuration/kde.nix b/configuration/kde.nix index 385efd2..04c8e82 100644 --- a/configuration/kde.nix +++ b/configuration/kde.nix @@ -11,6 +11,9 @@ services.displayManager.sddm.wayland.enable = true; services.desktopManager.plasma6.enable = true; + # Specific fix for cursor in steam + xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ]; + environment.systemPackages = with pkgs; [ maliit-keyboard ] ++ (with kdePackages; [ sddm-kcm diff --git a/home-manager/firefox/firefox.nix b/home-manager/firefox/firefox.nix index b53b201..19d12a4 100644 --- a/home-manager/firefox/firefox.nix +++ b/home-manager/firefox/firefox.nix @@ -9,7 +9,7 @@ ]; policies = { "DisplayMenuBar" = true; - ExtensionSettings = with builtins; + "ExtensionSettings" = with builtins; let extension = shortId: uuid: { name = uuid; diff --git a/starlite/home.nix b/starlite/home.nix index b166eef..0dfda60 100644 --- a/starlite/home.nix +++ b/starlite/home.nix @@ -44,18 +44,25 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') + + # general thunderbird keepassxc - strawberry-qt6 - rclone qbittorrent - yt-dlp + libreoffice-qt joplin-desktop obsidian + + # cmd line tools + yt-dlp + + # media + strawberry-qt6 + jellyfin-media-player + + # comms teamspeak_client webcord - libreoffice-qt - jellyfin-media-player ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage @@ -109,6 +116,10 @@ chromium = { enable = true; package = pkgs.brave; + config = { + screenshot-directory = "~/Pictures/"; + screenshot-template = "%F/%F_snapshot_%P"; + }; }; mpv = { diff --git a/tuxedo/home.nix b/tuxedo/home.nix index 429b824..45b7311 100644 --- a/tuxedo/home.nix +++ b/tuxedo/home.nix @@ -46,23 +46,34 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') + + # general thunderbird keepassxc - strawberry-qt6 - rclone qbittorrent gimp-with-plugins - ffmpeg-full - yt-dlp joplin-desktop obsidian - teamspeak_client - webcord libreoffice-qt - jellyfin-media-player - haruna + + # cmd line tools + rclone inotify-tools libnotify + ffmpeg-full + yt-dlp + + # comms + teamspeak_client + webcord + teams-for-linux + + # media + strawberry-qt6 + jellyfin-media-player + haruna + + # misc electrum gpu-screen-recorder-gtk ]; diff --git a/update.sh b/update.sh index 75f60b2..d6043f7 100755 --- a/update.sh +++ b/update.sh @@ -1,2 +1,3 @@ #!/usr/bin/env bash -sudo nixos-rebuild switch --flake '/home/worble/Projects/nixos#output' \ No newline at end of file +FLAKE=${1:?"missing arg 1 for flake target"} +sudo nixos-rebuild switch --flake "/home/worble/Projects/nixos#$FLAKE" \ No newline at end of file