diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-23 21:35:26 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-23 21:35:26 -0400 |
| commit | 08d200c7b0c9210afe5bc2819b99a2726b4421a7 (patch) | |
| tree | fd0e073a2996267cad302b7096b1eee72f19924d | |
| parent | 7108fc28e06a6326f7a04251cc95bbe50ced6133 (diff) | |
cleanup work
| -rw-r--r-- | users/ryan/common.nix | 21 | ||||
| -rw-r--r-- | users/ryan/darwin.nix | 6 | ||||
| -rw-r--r-- | users/ryan/linux.nix | 41 | ||||
| -rw-r--r-- | users/ryan/linux/firefox-nightly/.to-be-deleted | 0 | ||||
| -rw-r--r-- | users/ryan/linux/mailvelope/gpgmejson.json | 7 | ||||
| -rwxr-xr-x | users/ryan/linux/mailvelope/start.sh | 4 | ||||
| -rw-r--r-- | users/ryan/linux/spotify-player/app.toml | 34 |
7 files changed, 23 insertions, 90 deletions
diff --git a/users/ryan/common.nix b/users/ryan/common.nix index 1beaa7c..58346e7 100644 --- a/users/ryan/common.nix +++ b/users/ryan/common.nix | |||
| @@ -149,6 +149,24 @@ | |||
| 149 | # packages to nix (all commented out of home-configuration.scm's package | 149 | # packages to nix (all commented out of home-configuration.scm's package |
| 150 | # list), same as the darwin config always has. | 150 | # list), same as the darwin config always has. |
| 151 | home.packages = with pkgs; [ | 151 | home.packages = with pkgs; [ |
| 152 | bat | ||
| 153 | fd | ||
| 154 | fzf | ||
| 155 | tmux | ||
| 156 | restic | ||
| 157 | rsync | ||
| 158 | pv | ||
| 159 | jq | ||
| 160 | htop | ||
| 161 | (pkgs.zathura.override { | ||
| 162 | plugins = [ pkgs.zathuraPkgs.zathura-pdf-mupdf ]; | ||
| 163 | }) | ||
| 164 | go | ||
| 165 | pass | ||
| 166 | file | ||
| 167 | pandoc | ||
| 168 | weechat | ||
| 169 | python3 | ||
| 152 | yt-dlp | 170 | yt-dlp |
| 153 | aerc | 171 | aerc |
| 154 | gdu | 172 | gdu |
| @@ -156,6 +174,9 @@ | |||
| 156 | delta | 174 | delta |
| 157 | prismlauncher | 175 | prismlauncher |
| 158 | git-lfs | 176 | git-lfs |
| 177 | kdePackages.kdenlive | ||
| 178 | audacity | ||
| 179 | blender | ||
| 159 | ]; | 180 | ]; |
| 160 | 181 | ||
| 161 | xdg.configFile."aerc" = { | 182 | xdg.configFile."aerc" = { |
diff --git a/users/ryan/darwin.nix b/users/ryan/darwin.nix index 0557509..e721347 100644 --- a/users/ryan/darwin.nix +++ b/users/ryan/darwin.nix | |||
| @@ -29,13 +29,7 @@ | |||
| 29 | home.file.".config/homebrew".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.homebrew"; | 29 | home.file.".config/homebrew".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.homebrew"; |
| 30 | 30 | ||
| 31 | home.packages = with pkgs; [ | 31 | home.packages = with pkgs; [ |
| 32 | bat | ||
| 33 | pass | ||
| 34 | pandoc | ||
| 35 | iina # Media player (frontend to mpv essentially) | 32 | iina # Media player (frontend to mpv essentially) |
| 36 | audacity | ||
| 37 | ffmpeg | ||
| 38 | blender | ||
| 39 | nerd-fonts.anonymice | 33 | nerd-fonts.anonymice |
| 40 | jujutsu | 34 | jujutsu |
| 41 | netbird-tui | 35 | netbird-tui |
diff --git a/users/ryan/linux.nix b/users/ryan/linux.nix index a86cad1..a93a065 100644 --- a/users/ryan/linux.nix +++ b/users/ryan/linux.nix | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | { | 3 | { |
| 4 | imports = [ | 4 | imports = [ |
| 5 | ./linux/firefox-nightly | ||
| 6 | ]; | 5 | ]; |
| 7 | 6 | ||
| 8 | home.username = "ryan"; | 7 | home.username = "ryan"; |
| @@ -11,18 +10,6 @@ | |||
| 11 | 10 | ||
| 12 | nixpkgs.config.allowUnfree = true; | 11 | nixpkgs.config.allowUnfree = true; |
| 13 | 12 | ||
| 14 | programs.zsh.shellAliases = { | ||
| 15 | ls = "ls -p --color=auto"; | ||
| 16 | spt = "spotify_player"; | ||
| 17 | python = "python3"; | ||
| 18 | }; | ||
| 19 | |||
| 20 | # `nix shell nixpkgs#...`/`nix run nixpkgs#...` etc. resolve `nixpkgs` to | ||
| 21 | # this flake's own pinned input instead of fetching latest nixpkgs-unstable. | ||
| 22 | # This is the standalone-HM equivalent of RyanMac's /etc/nix/flake-registry.json. | ||
| 23 | # HM owns the whole ~/.config/nix directory (including nix.conf) so this | ||
| 24 | # doesn't end up writing through guix-dotfiles' `nix-config` symlink - see | ||
| 25 | # MIGRATION.md. | ||
| 26 | xdg.configFile."nix/nix.conf".text = "experimental-features = nix-command flakes\n"; | 13 | xdg.configFile."nix/nix.conf".text = "experimental-features = nix-command flakes\n"; |
| 27 | xdg.configFile."nix/registry.json".text = builtins.toJSON { | 14 | xdg.configFile."nix/registry.json".text = builtins.toJSON { |
| 28 | version = 2; | 15 | version = 2; |
| @@ -39,8 +26,6 @@ | |||
| 39 | ]; | 26 | ]; |
| 40 | }; | 27 | }; |
| 41 | 28 | ||
| 42 | # Non-NixOS (Guix), so HM has to write its own fontconfig instead of | ||
| 43 | # relying on a system module. | ||
| 44 | fonts.fontconfig.enable = true; | 29 | fonts.fontconfig.enable = true; |
| 45 | fonts.fontconfig.defaultFonts = { | 30 | fonts.fontconfig.defaultFonts = { |
| 46 | monospace = [ "DejaVu Sans Mono" ]; | 31 | monospace = [ "DejaVu Sans Mono" ]; |
| @@ -48,9 +33,6 @@ | |||
| 48 | serif = [ "DejaVu Serif" ]; | 33 | serif = [ "DejaVu Serif" ]; |
| 49 | }; | 34 | }; |
| 50 | 35 | ||
| 51 | # Cursor theme. Replaces the previously hand-vendored Bibata asset (which | ||
| 52 | # embedded oddly-versioned theme names) with nixpkgs' own build - see the | ||
| 53 | # comment in linux/hypr/hyprland.conf for the corresponding env var change. | ||
| 54 | home.pointerCursor = { | 36 | home.pointerCursor = { |
| 55 | enable = true; | 37 | enable = true; |
| 56 | package = pkgs.bibata-cursors; | 38 | package = pkgs.bibata-cursors; |
| @@ -60,8 +42,6 @@ | |||
| 60 | x11.enable = true; | 42 | x11.enable = true; |
| 61 | }; | 43 | }; |
| 62 | 44 | ||
| 63 | # gpg-agent itself is enabled in common.nix; nixpkgs' pinentry here instead | ||
| 64 | # of depending on Guix's system profile path. | ||
| 65 | services.gpg-agent.pinentry.package = pkgs.pinentry-qt; | 45 | services.gpg-agent.pinentry.package = pkgs.pinentry-qt; |
| 66 | 46 | ||
| 67 | wayland.windowManager.hyprland = { | 47 | wayland.windowManager.hyprland = { |
| @@ -88,26 +68,18 @@ | |||
| 88 | "mpv" = { source = ./linux/mpv; recursive = true; }; | 68 | "mpv" = { source = ./linux/mpv; recursive = true; }; |
| 89 | 69 | ||
| 90 | "pulse/client.conf".source = ./linux/pulseaudio/client.conf; | 70 | "pulse/client.conf".source = ./linux/pulseaudio/client.conf; |
| 91 | "spotify-player/app.toml".source = ./linux/spotify-player/app.toml; | ||
| 92 | }; | 71 | }; |
| 93 | 72 | ||
| 94 | home.file = { | 73 | home.file = { |
| 95 | ".local/share/mailvelope" = { source = ./linux/mailvelope; recursive = true; }; | 74 | # Files that need to be in ~ go here |
| 96 | ".local/share/tridactyl" = { source = ./linux/tridactyl; recursive = true; }; | ||
| 97 | ".mozilla/native-messaging-hosts/tridactyl.json".source = ./linux/tridactyl/tridactyl.json; | ||
| 98 | }; | 75 | }; |
| 99 | 76 | ||
| 100 | home.packages = with pkgs; [ | 77 | home.packages = with pkgs; [ |
| 101 | rustup | ||
| 102 | zoxide | ||
| 103 | pnpm | ||
| 104 | gcc | 78 | gcc |
| 105 | pkg-config | 79 | pkg-config |
| 106 | wttrbar | 80 | wttrbar |
| 107 | wl-clip-persist | 81 | wl-clip-persist |
| 108 | gifski | ||
| 109 | waypaper | 82 | waypaper |
| 110 | spotify-player | ||
| 111 | xwayland | 83 | xwayland |
| 112 | xdg-desktop-portal | 84 | xdg-desktop-portal |
| 113 | xdg-desktop-portal-gtk | 85 | xdg-desktop-portal-gtk |
| @@ -121,22 +93,13 @@ | |||
| 121 | wl-mirror | 93 | wl-mirror |
| 122 | pyprland | 94 | pyprland |
| 123 | satty | 95 | satty |
| 124 | fluxcd | ||
| 125 | sops | 96 | sops |
| 126 | restic | 97 | restic |
| 127 | kdePackages.kdenlive | ||
| 128 | bluetui | 98 | bluetui |
| 129 | supercell-wx | 99 | supercell-wx |
| 130 | chromium | 100 | chromium |
| 101 | foot | ||
| 131 | 102 | ||
| 132 | # foot is Guix system-packaged and is the terminal actually wired into | ||
| 133 | # the WM; alacritty's config was carried over from guix-dotfiles but | ||
| 134 | # nothing provided its binary there either - see MIGRATION.md. | ||
| 135 | alacritty | ||
| 136 | |||
| 137 | # Nerd Fonts, replacing the hand-vendored ttf files that used to live in | ||
| 138 | # guix-dotfiles/home-config/fonts (Fira Code and "Monofur For Powerline" | ||
| 139 | # dropped - superseded by these, unreferenced anywhere) | ||
| 140 | nerd-fonts.anonymice | 103 | nerd-fonts.anonymice |
| 141 | nerd-fonts.monofur | 104 | nerd-fonts.monofur |
| 142 | nerd-fonts.lilex | 105 | nerd-fonts.lilex |
diff --git a/users/ryan/linux/firefox-nightly/.to-be-deleted b/users/ryan/linux/firefox-nightly/.to-be-deleted new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/users/ryan/linux/firefox-nightly/.to-be-deleted | |||
diff --git a/users/ryan/linux/mailvelope/gpgmejson.json b/users/ryan/linux/mailvelope/gpgmejson.json deleted file mode 100644 index 7ad8586..0000000 --- a/users/ryan/linux/mailvelope/gpgmejson.json +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | { | ||
| 2 | "name": "gpgmejson", | ||
| 3 | "description": "JavaScript binding for GnuPG", | ||
| 4 | "path": "/home/ryan/.local/share/mailvelope/start.sh", | ||
| 5 | "type": "stdio", | ||
| 6 | "allowed_extensions": ["jid1-AQqSMBYb0a8ADg@jetpack"] | ||
| 7 | } | ||
diff --git a/users/ryan/linux/mailvelope/start.sh b/users/ryan/linux/mailvelope/start.sh deleted file mode 100755 index 01b3ee2..0000000 --- a/users/ryan/linux/mailvelope/start.sh +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | |||
| 3 | # Wrap for gpgme-json so firefox can use it | ||
| 4 | exec gpgme-json $@ | ||
diff --git a/users/ryan/linux/spotify-player/app.toml b/users/ryan/linux/spotify-player/app.toml deleted file mode 100644 index 4eac5e4..0000000 --- a/users/ryan/linux/spotify-player/app.toml +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | theme = "dracula" | ||
| 2 | client_id = "4b1219bdc29945bc8ca914f80a8a6a47" | ||
| 3 | client_port = 8888 | ||
| 4 | playback_format = """ | ||
| 5 | {track} • {artists} | ||
| 6 | {album} | ||
| 7 | {metadata}""" | ||
| 8 | tracks_playback_limit = 50 | ||
| 9 | app_refresh_duration_in_ms = 32 | ||
| 10 | playback_refresh_duration_in_ms = 0 | ||
| 11 | cover_image_refresh_duration_in_ms = 2000 | ||
| 12 | page_size_in_rows = 20 | ||
| 13 | play_icon = "▶" | ||
| 14 | pause_icon = "▌▌" | ||
| 15 | liked_icon = "♥" | ||
| 16 | border_type = "Plain" | ||
| 17 | progress_bar_type = "Rectangle" | ||
| 18 | playback_window_position = "Top" | ||
| 19 | cover_img_length = 9 | ||
| 20 | cover_img_width = 5 | ||
| 21 | cover_img_scale = 1.0 | ||
| 22 | playback_window_width = 6 | ||
| 23 | enable_media_control = true | ||
| 24 | enable_streaming = "DaemonOnly" | ||
| 25 | enable_cover_image_cache = true | ||
| 26 | default_device = "RyanThinkpad" | ||
| 27 | |||
| 28 | [copy_command] | ||
| 29 | command = "wlcopy" | ||
| 30 | args = [] | ||
| 31 | |||
| 32 | [notify_format] | ||
| 33 | summary = "{track} • {artists}" | ||
| 34 | body = "{album}" | ||
