this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Music!

Ben C 5acc6fe9 4bb9a877

+360 -7
+6 -6
flake.lock
··· 408 408 ] 409 409 }, 410 410 "locked": { 411 - "lastModified": 1760662441, 412 - "narHash": "sha256-mlDqR1Ntgs9uYYEAUR1IhamKBO0lxoNS4zGLzEZaY0A=", 411 + "lastModified": 1760809591, 412 + "narHash": "sha256-OxGcFcQdfOK8veZkPdQuqXIotFYiy4sBQB58dMNLeHY=", 413 413 "owner": "nix-community", 414 414 "repo": "home-manager", 415 - "rev": "722792af097dff5790f1a66d271a47759f477755", 415 + "rev": "870883ba11ba1c84f756c0c1f9fa74cdb2a16c1e", 416 416 "type": "github" 417 417 }, 418 418 "original": { ··· 550 550 "systems": "systems_2" 551 551 }, 552 552 "locked": { 553 - "lastModified": 1760745926, 554 - "narHash": "sha256-JdkryG8f774tJK6BLp8386zJ5a+GRtS4dulbvhK/OQE=", 553 + "lastModified": 1760751718, 554 + "narHash": "sha256-IXJeNw3l/zDT02chbp9lCmesPpBnby8aOcc6A0igLaA=", 555 555 "owner": "nix-community", 556 556 "repo": "nixvim", 557 - "rev": "4c4cac6445bc92ba560433c2843d1beb1a3a14ab", 557 + "rev": "f473cee0d00a8c78b90e417e5a8a658aa4a2fe78", 558 558 "type": "github" 559 559 }, 560 560 "original": {
+1
nixosModules/imperm.nix
··· 120 120 "zoxide" 121 121 "nvim" 122 122 "Cemu" 123 + "mpd" 123 124 ]); 124 125 files = preConf [ 125 126 "nushell/history.txt"
+350
nixosModules/music.nix
··· 1 + { config, inputs', ... }: 2 + let 3 + cat = 4 + (builtins.fromJSON (builtins.readFile "${inputs'.catppuccin.packages.palette}/palette.json")) 5 + .${config.catppuccin.flavor}.colors; 6 + accent = cat.${config.catppuccin.accent}; 7 + themeFile = '' 8 + #![enable(implicit_some)] 9 + #![enable(unwrap_newtypes)] 10 + #![enable(unwrap_variant_newtypes)] 11 + ( 12 + default_album_art_path: None, 13 + draw_borders: true, 14 + show_song_table_header: true, 15 + symbols: (song: "", dir: "", playlist: "󰲸", marker: "\u{e0b0}"), 16 + layout: Split( 17 + direction: Vertical, 18 + panes: [ 19 + ( 20 + size: "3", 21 + pane: Pane(Tabs), 22 + ), 23 + ( 24 + size: "4", 25 + pane: Split( 26 + direction: Horizontal, 27 + panes: [ 28 + ( 29 + size: "100%", 30 + pane: Split( 31 + direction: Vertical, 32 + panes: [ 33 + ( 34 + size: "4", 35 + borders: "ALL", 36 + pane: Pane(Header), 37 + ), 38 + ] 39 + ) 40 + ), 41 + ] 42 + ), 43 + ), 44 + ( 45 + size: "100%", 46 + pane: Split( 47 + direction: Horizontal, 48 + panes: [ 49 + ( 50 + size: "100%", 51 + borders: "ALL", 52 + pane: Pane(TabContent), 53 + ), 54 + ] 55 + ), 56 + ), 57 + ( 58 + size: "3", 59 + borders: "ALL", 60 + pane: Pane(ProgressBar), 61 + ), 62 + ], 63 + ), 64 + progress_bar: ( 65 + symbols: ["[", "=", ">", "-", "]"], 66 + track_style: (bg: "${cat.mantle.hex}"), 67 + elapsed_style: (fg: "${accent.hex}", bg: "${cat.mantle.hex}"), 68 + thumb_style: (fg: "${accent.hex}", bg: "${cat.mantle.hex}"), 69 + ), 70 + scrollbar: ( 71 + symbols: ["│", "█", "▲", "▼"], 72 + track_style: (), 73 + ends_style: (), 74 + thumb_style: (fg: "${cat.teal.hex}"), 75 + ), 76 + browser_column_widths: [20, 38, 42], 77 + text_color: "${cat.text.hex}", 78 + background_color: "${cat.base.hex}", 79 + header_background_color: "${cat.mantle.hex}", 80 + modal_background_color: None, 81 + modal_backdrop: true, 82 + tab_bar: (active_style: (fg: "black", bg: "${accent.hex}", modifiers: "Bold"), inactive_style: ()), 83 + borders_style: (fg: "${cat.overlay0.hex}"), 84 + highlighted_item_style: (fg: "${accent.hex}", modifiers: "Bold"), 85 + current_item_style: (fg: "black", bg: "${cat.teal.hex}", modifiers: "Bold"), 86 + highlight_border_style: (fg: "${cat.teal.hex}"), 87 + cava: ( 88 + bar_symbols: ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'], 89 + inverted_bar_symbols: ['▔', '🮂', '🮃', '▀', '🮄', '🮅', '🮆', '█'], 90 + bar_width: 1, 91 + bar_spacing: 1, 92 + orientation: Bottom, 93 + bar_color: Gradient({ 94 + 0: "${cat.lavender.hex}", 95 + 10: "${cat.blue.hex}", 96 + 20: "${cat.sapphire.hex}", 97 + 30: "${cat.teal.hex}", 98 + 40: "${cat.green.hex}", 99 + 50: "${cat.yellow.hex}", 100 + 60: "${cat.maroon.hex}", 101 + 70: "${cat.red.hex}", 102 + 80: "${cat.mauve.hex}", 103 + 90: "${cat.pink.hex}", 104 + 100: "${cat.flamingo.hex}", 105 + }), 106 + ), 107 + song_table_format: [ 108 + ( 109 + prop: (kind: Property(Artist), style: (fg: "${cat.teal.hex}"), default: (kind: Text("Unknown"))), 110 + width: "50%", 111 + alignment: Right, 112 + ), 113 + ( 114 + prop: (kind: Text("-"), style: (fg: "${cat.teal.hex}"), default: (kind: Text("Unknown"))), 115 + width: "1", 116 + alignment: Center, 117 + ), 118 + ( 119 + prop: (kind: Property(Title), style: (fg: "${accent.hex}"), default: (kind: Text("Unknown"))), 120 + width: "50%", 121 + ), 122 + ], 123 + header: ( 124 + rows: [ 125 + ( 126 + left: [ 127 + (kind: Text("["), style: (fg: "${cat.teal.hex}", modifiers: "Bold")), 128 + (kind: Property(Status(State)), style: (fg: "${cat.teal.hex}", modifiers: "Bold")), 129 + (kind: Text("]"), style: (fg: "${cat.teal.hex}", modifiers: "Bold")) 130 + ], 131 + center: [ 132 + (kind: Property(Song(Artist)), style: (fg: "${cat.yellow.hex}", modifiers: "Bold"), 133 + default: (kind: Text("Unknown"), style: (fg: "${cat.yellow.hex}", modifiers: "Bold")) 134 + ), 135 + (kind: Text(" - ")), 136 + (kind: Property(Song(Title)), style: (fg: "${accent.hex}", modifiers: "Bold"), 137 + default: (kind: Text("No Song"), style: (fg: "${accent.hex}", modifiers: "Bold")) 138 + ) 139 + ], 140 + right: [ 141 + (kind: Text("Vol: "), style: (fg: "${cat.teal.hex}", modifiers: "Bold")), 142 + (kind: Property(Status(Volume)), style: (fg: "${cat.teal.hex}", modifiers: "Bold")), 143 + (kind: Text("% "), style: (fg: "${cat.teal.hex}", modifiers: "Bold")) 144 + ] 145 + ) 146 + ], 147 + ), 148 + ) 149 + ''; 150 + configFile = '' 151 + #![enable(implicit_some)] 152 + #![enable(unwrap_newtypes)] 153 + #![enable(unwrap_variant_newtypes)] 154 + ( 155 + address: "127.0.0.1:6600", 156 + password: None, 157 + theme: Some("catppuccin"), 158 + cache_dir: None, 159 + on_song_change: None, 160 + volume_step: 5, 161 + max_fps: 30, 162 + scrolloff: 0, 163 + wrap_navigation: true, 164 + enable_mouse: true, 165 + enable_config_hot_reload: true, 166 + status_update_interval_ms: 1000, 167 + rewind_to_start_sec: None, 168 + reflect_changes_to_playlist: false, 169 + select_current_song_on_change: false, 170 + browser_song_sort: [Disc, Track, Artist, Title], 171 + directories_sort: SortFormat(group_by_type: true, reverse: false), 172 + album_art: ( 173 + method: Auto, 174 + max_size_px: (width: 1200, height: 1200), 175 + disabled_protocols: ["http://", "https://"], 176 + vertical_align: Center, 177 + horizontal_align: Center, 178 + ), 179 + cava: ( 180 + framerate: 60, // default 60 181 + autosens: true, // default true 182 + sensitivity: 100, // default 100 183 + lower_cutoff_freq: 50, // not passed to cava if not provided 184 + higher_cutoff_freq: 10000, // not passed to cava if not provided 185 + input: ( 186 + method: Fifo, 187 + source: "/tmp/mpd.fifo", 188 + sample_rate: 44100, 189 + channels: 2, 190 + sample_bits: 16, 191 + ), 192 + smoothing: ( 193 + noise_reduction: 77, // default 77 194 + monstercat: false, // default false 195 + waves: false, // default false 196 + ), 197 + eq: [] 198 + ), 199 + keybinds: ( 200 + global: { 201 + ":": CommandMode, 202 + ",": VolumeDown, 203 + "s": Stop, 204 + ".": VolumeUp, 205 + "<Tab>": NextTab, 206 + "<S-Tab>": PreviousTab, 207 + "1": SwitchToTab("Queue"), 208 + "2": SwitchToTab("Directories"), 209 + "3": SwitchToTab("Search"), 210 + "q": Quit, 211 + ">": NextTrack, 212 + "p": TogglePause, 213 + "<": PreviousTrack, 214 + "f": SeekForward, 215 + "z": ToggleRepeat, 216 + "x": ToggleRandom, 217 + "c": ToggleConsume, 218 + "v": ToggleSingle, 219 + "b": SeekBack, 220 + "~": ShowHelp, 221 + "u": Update, 222 + "U": Rescan, 223 + "I": ShowCurrentSongInfo, 224 + "O": ShowOutputs, 225 + "P": ShowDecoders, 226 + "R": AddRandom, 227 + }, 228 + navigation: { 229 + "k": Up, 230 + "j": Down, 231 + "h": Left, 232 + "l": Right, 233 + "<Up>": Up, 234 + "<Down>": Down, 235 + "<Left>": Left, 236 + "<Right>": Right, 237 + "<C-k>": PaneUp, 238 + "<C-j>": PaneDown, 239 + "<C-h>": PaneLeft, 240 + "<C-l>": PaneRight, 241 + "<C-u>": UpHalf, 242 + "N": PreviousResult, 243 + "a": Add, 244 + "A": AddAll, 245 + "r": Rename, 246 + "n": NextResult, 247 + "g": Top, 248 + "<Space>": Select, 249 + "<C-Space>": InvertSelection, 250 + "G": Bottom, 251 + "<CR>": Confirm, 252 + "i": FocusInput, 253 + "J": MoveDown, 254 + "<C-d>": DownHalf, 255 + "/": EnterSearch, 256 + "<C-c>": Close, 257 + "<Esc>": Close, 258 + "K": MoveUp, 259 + "D": Delete, 260 + "B": ShowInfo, 261 + }, 262 + queue: { 263 + "D": DeleteAll, 264 + "<CR>": Play, 265 + "<C-s>": Save, 266 + "a": AddToPlaylist, 267 + "d": Delete, 268 + "C": JumpToCurrent, 269 + "X": Shuffle, 270 + }, 271 + ), 272 + search: ( 273 + case_sensitive: false, 274 + mode: Contains, 275 + tags: [ 276 + (value: "any", label: "Any Tag"), 277 + (value: "artist", label: "Artist"), 278 + (value: "album", label: "Album"), 279 + (value: "albumartist", label: "Album Artist"), 280 + (value: "title", label: "Title"), 281 + (value: "filename", label: "Filename"), 282 + (value: "genre", label: "Genre"), 283 + ], 284 + ), 285 + artists: ( 286 + album_display_mode: SplitByDate, 287 + album_sort_by: Date, 288 + ), 289 + tabs: [ 290 + ( 291 + name: "Queue", 292 + pane: Split( 293 + direction: Horizontal, 294 + panes: [ 295 + (size: "60%", pane: Split( 296 + direction: Vertical, 297 + panes: [ 298 + (size: "50%", pane: Pane(Queue)), 299 + (size: "50%", borders: "TOP", pane: Pane(Cava)), 300 + ], 301 + )), 302 + (size: "40%", borders: "LEFT", pane: Pane(AlbumArt)), 303 + ], 304 + ), 305 + ), 306 + ( 307 + name: "Directories", 308 + pane: Pane(Directories), 309 + ), 310 + ( 311 + name: "Search", 312 + pane: Pane(Search), 313 + ), 314 + ], 315 + ) 316 + ''; 317 + in 318 + { 319 + home-manager.users.bean = { 320 + programs.cava = { 321 + enable = true; 322 + }; 323 + 324 + xdg.configFile."rmpc/themes/catppuccin.ron".text = themeFile; 325 + 326 + programs.rmpc = { 327 + enable = true; 328 + config = configFile; 329 + }; 330 + 331 + services = { 332 + mpd = { 333 + enable = true; 334 + extraConfig = '' 335 + audio_output { 336 + type "fifo" 337 + name "mpd_fifo" 338 + path "/tmp/mpd.fifo" 339 + format "44100:16:2" 340 + } 341 + audio_output { 342 + type "pipewire" 343 + name "Pipewire" 344 + } 345 + ''; 346 + }; 347 + mpdris2.enable = true; 348 + }; 349 + }; 350 + }
+1 -1
systemConfigs/aperture.nix
··· 6 6 system = "x86_64-linux"; 7 7 8 8 modules = [ 9 - (outputs.lib.applyRoles ["base" "latest-linux" "dev" "graphics" "games" "fun" "social" "imperm" "secureboot" "networking" "hypervisor" "podman" "sync"]) 9 + (outputs.lib.applyRoles ["base" "latest-linux" "dev" "graphics" "games" "fun" "social" "imperm" "secureboot" "networking" "hypervisor" "podman" "sync" "music"]) 10 10 inputs.nixos-hardware.nixosModules.framework-13th-gen-intel 11 11 12 12 (
+2
systemConfigs/installer.nix
··· 6 6 "base" 7 7 "latest-linux" 8 8 "dev" 9 + "networking" 9 10 "fun" 10 11 ]) 11 12 ( ··· 21 22 { 22 23 system.stateVersion = "25.05"; 23 24 networking.hostName = "nixos-installer-bwc9876"; 25 + networking.networkmanager.enable = lib.mkForce false; 24 26 25 27 imports = [ 26 28 "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"