From 61b4ceedfa9255b09e5abe66decc587bcefb2606 Mon Sep 17 00:00:00 2001 From: Lucy Hochkamp Date: Thu, 30 Jan 2025 06:24:42 +0100 Subject: [PATCH] add beets --- hosts/ds9/default.nix | 2 +- hosts/theseus/default.nix | 4 +++- hosts/theseus/river.nix | 12 ++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/hosts/ds9/default.nix b/hosts/ds9/default.nix index c303a435..ea488cff 100644 --- a/hosts/ds9/default.nix +++ b/hosts/ds9/default.nix @@ -95,7 +95,7 @@ in group = "minecraft"; }; users.groups.minecraft = { }; - environment.systemPackages = [ pkgs.jdk17 pkgs.borgbackup ]; + environment.systemPackages = [ pkgs.jdk17 pkgs.borgbackup pkgs.beets ]; services.smartd = { enable = true; diff --git a/hosts/theseus/default.nix b/hosts/theseus/default.nix index ded81068..d8edf59c 100644 --- a/hosts/theseus/default.nix +++ b/hosts/theseus/default.nix @@ -188,7 +188,7 @@ services.syncthing.enable = true; services.syncthing.tray.enable = true; services.syncthing.tray.command = "syncthingtray --wait"; - programs.firefox.nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ]; + programs.firefox.nativeMessagingHosts = [ pkgs.unstable.firefoxpwa pkgs.unstable.keepassxc ]; programs.firefox.enable = true; @@ -218,6 +218,7 @@ dune3d ptyxis appimage-run + unstable.keepassxc # filezilla @@ -326,6 +327,7 @@ "/var/lib/bluetooth" "/var/lib/flatpak" "/var/lib/iwd" + "/var/log" #lol ]; services = { ssh.enable = true; diff --git a/hosts/theseus/river.nix b/hosts/theseus/river.nix index a7b78ff1..45db6887 100644 --- a/hosts/theseus/river.nix +++ b/hosts/theseus/river.nix @@ -10,6 +10,7 @@ let else if i == 0 then 1 else n * pow n (i - 1); tag = n: toString (pow 2 (n - 1)); + scratchTag = tag 20; in { home.packages = with pkgs; [ @@ -511,6 +512,8 @@ label:focus { // { "Super 0" = "set-focused-tags 4294967295"; # $(((1 << 32) - 1)) "Super+Shift 0" = "set-view-tags 4294967295"; # $(((1 << 32) - 1)) + "Super P" = "toggle-focused-tags ${scratchTag}"; + "Super+Shift P" = "set-view-tags ${scratchTag}"; # Super+Space to toggle float "Super Space" = "toggle-float"; @@ -558,19 +561,23 @@ label:focus { keyboard-layout = "eu"; xcursor-theme = "Adwaita"; default-layout = "rivertile"; + spawn-tagmask = "4293918719"; # (( ((1 << 32) - 1) ^ (1 << 20) )) all but scratch tag rule-add = { "-title 'Picture-in-Picture'" = "float"; "-app-id 'com.saivert.pwvucontrol'" = "float"; + "-app-id 'KeePassXC'" = "float"; "-app-id 'org.gnome.NautilusPreviewer'" = "float"; "-app-id 'Signal'" = "tags ${tag 9}"; # signal - "-app-id 'Cinny'" = "tags ${tag 9}"; # cinny + "-app-id 'Element'" = "tags ${tag 9}"; # cinny "-app-id 'FFPWA-01JHNYASHBQB122KMCDPEZ65JA'" = "tags ${tag 9}"; # yt music "-app-id 'org.gnome.evolution'" = "tags ${tag 8}"; # evolution "-app-id 'obsidian'" = "tags ${tag 1}"; # obsidian + "-app-id 'KeePassXC' " = "tags ${scratchTag}"; }; }; extraConfig = '' export XDG_CURRENT_DESKTOP=river + export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent rivertile -view-padding 0 -outer-padding 0 & swayidle \ timeout 300 'swaylock -i ${backgroundImage}' \ @@ -584,8 +591,9 @@ label:focus { # now autostarting stuff thats always open anyways obsidian & signal-desktop & - cinny-desktop & + element-desktop & evolution & + ${pkgs.appimage-run}/bin/appimage-run /home/ragon/AppImages/KeePassXC-2.8.0-snapshot-x86_64.AppImage & ''; }; # services.wired = {