|
| 1 | +{ inputs, self, ... }: |
| 2 | +{ |
| 3 | + flake.darwinModules.rex = |
| 4 | + { pkgs, ... }: |
| 5 | + { |
| 6 | + home-manager.sharedModules = [ |
| 7 | + inputs.rex.homeManagerModules.default |
| 8 | + { |
| 9 | + programs.rex = { |
| 10 | + enable = true; |
| 11 | + package = self.packages.${pkgs.stdenv.hostPlatform.system}.rex-app; |
| 12 | + }; |
| 13 | + } |
| 14 | + ]; |
| 15 | + |
| 16 | + system.defaults.CustomUserPreferences."com.superlogical.rex" = { |
| 17 | + "Workspace.activePaneBorderColor" = "terminalForeground"; |
| 18 | + "Workspace.activePaneBorderOpacity" = 0.2; |
| 19 | + "Workspace.activePaneBorderTransition" = "off"; |
| 20 | + "Workspace.activityGrouping" = "priority"; |
| 21 | + "Workspace.animationStyle" = "snappy"; |
| 22 | + "Workspace.cursorShader" = "blazeNoTrail"; |
| 23 | + "Workspace.cursorShadersEnabled" = true; |
| 24 | + "Workspace.focusFollowsMouse" = true; |
| 25 | + "Workspace.inactivePaneContentOpacity" = 0.9; |
| 26 | + "Workspace.inactivePaneSurfaceOpacity" = 0.9; |
| 27 | + "Workspace.interfaceStyle" = "useTheme"; |
| 28 | + "Workspace.lightThemeID" = "merino-light"; |
| 29 | + "Workspace.paneDensity" = "compact"; |
| 30 | + "Workspace.paneHeaderVisibility" = "onHover"; |
| 31 | + "Workspace.prefersSampledPaneRim" = true; |
| 32 | + "Workspace.shellIconTheme" = "default"; |
| 33 | + "Workspace.showsActivePaneBorder" = true; |
| 34 | + "Workspace.showsPaneHeaders" = false; |
| 35 | + "Workspace.sidebarPosition" = "left"; |
| 36 | + "Workspace.sidebarShowsActivity" = false; |
| 37 | + "Workspace.sidebarSwipe" = "swipe"; |
| 38 | + "Workspace.sshAgentChoice" = "system"; |
| 39 | + "Workspace.tabBarEdge" = "top"; |
| 40 | + "Workspace.tabIconColorMode" = "always"; |
| 41 | + "Workspace.tabIconCount" = 3; |
| 42 | + "Workspace.tabIconTintMode" = "off"; |
| 43 | + "Workspace.tabStyle" = "horizontal"; |
| 44 | + "Workspace.tabsFillAvailableSpace" = false; |
| 45 | + "Workspace.terminalCopyOnSelect" = true; |
| 46 | + "Workspace.terminalCursorBlinkIntervalMilliseconds" = 500; |
| 47 | + "Workspace.terminalCursorBlinkUsesCustomInterval" = false; |
| 48 | + "Workspace.terminalCursorStyle" = "block"; |
| 49 | + "Workspace.terminalFontName" = "JetBrains Mono NL"; |
| 50 | + "Workspace.terminalFontPointSize" = 15.0; |
| 51 | + "Workspace.terminalSelectionRoundedCorners" = true; |
| 52 | + "Workspace.terminalSmoothScrolling" = true; |
| 53 | + "Workspace.terminalStartupCommand" = "/run/current-system/sw/bin/nu --login"; |
| 54 | + "Workspace.toolbarBehavior" = "alwaysShow"; |
| 55 | + "Workspace.usesPaneGlass" = true; |
| 56 | + "rex.developer-mode-enabled" = false; |
| 57 | + "rex.server.automatic-restart-enabled" = true; |
| 58 | + "rex.server.block-plugin-reload-enabled" = false; |
| 59 | + "rex.server.run-mode" = "bundled"; |
| 60 | + "rex.server.web-client-origin-patterns" = [ "https://rex.superlogical.com" ]; |
| 61 | + }; |
| 62 | + }; |
| 63 | + |
| 64 | + flake.nixosModules.rex-server = { |
| 65 | + home-manager.sharedModules = [ |
| 66 | + inputs.rex.homeManagerModules.default |
| 67 | + { services.rex.enable = true; } |
| 68 | + ]; |
| 69 | + }; |
| 70 | +} |
0 commit comments