From 0f472179ea1aaab0ab68a109c34fd78b25642422 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 24 Aug 2026 01:09:26 -0400 Subject: migration to mostly nix --- .../nix-home-manager/firefox-nightly/default.nix | 199 --------------------- 1 file changed, 199 deletions(-) delete mode 100644 home-config/nix-home-manager/firefox-nightly/default.nix (limited to 'home-config/nix-home-manager/firefox-nightly/default.nix') diff --git a/home-config/nix-home-manager/firefox-nightly/default.nix b/home-config/nix-home-manager/firefox-nightly/default.nix deleted file mode 100644 index b86da78..0000000 --- a/home-config/nix-home-manager/firefox-nightly/default.nix +++ /dev/null @@ -1,199 +0,0 @@ -{ config, pkgs, zen-browser, ...}: - -let - -#wrapped-ff-nightly = zen-browser.packages.${pkgs.system}.default - -in - -{ - programs.firefox = { - enable = true; - policies = import ./policies.nix; - #package = zen-browser.packages.${pkgs.system}.default.unwrapped; - - profiles.${config.home.username} = { - name = "${config.home.username}"; - isDefault = true; - containersForce = true; - containers = { - rit = { - name = "RIT"; - color = "orange"; - icon = "dollar"; - id = 1; - }; - ritwork = { - name = "RIT Work"; - color = "green"; - icon = "briefcase"; - id = 2; - }; - other = { - name = "Other"; - color = "blue"; - icon = "fingerprint"; - id = 3; - }; - }; - search = { - force = true; - default = "DuckDuckGo"; - order = ["DuckDuckGo" "Google"]; - engines = { - "Nix Packages" = { - urls = [ - { - template = "https://search.nixos.org/packages"; - params = [ - { - name = "type"; - value = "packages"; - } - { - name = "channel"; - value = "unstable"; - } - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = ["@np"]; - }; - }; - }; - userChrome = " -#main-window .toolbar-items { -overflow: hidden; -transition: height 0.3s 0.3s !important; -} -/* Default state: Set initial height to enable animation */ -#main-window .toolbar-items { height: 3em !important; } -#main-window .titlebar-button { height: 3em !important; } -#main-window[uidensity=\"touch\"] .toolbar-items { height: 3.35em !important; } -#main-window[uidensity=\"compact\"] .toolbar-items { height: 2.7em !important; } -/* Hidden state: Hide native tabs strip */ -#main-window[titlepreface*=\"\"] .toolbar-items { height: 0 !important; } -#main-window[titlepreface*=\"\"] .titlebar-button { height: 0 !important; } -/* Hidden state: Fix z-index of active pinned tabs */ -#main-window[titlepreface*=\"\"] #tabbrowser-tabs { z-index: 0 !important; } - -/* Sidebery expand on mouse-over and hide otherwise */ - -/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0 -See the above repository for updates as well as full license text. */ - -/* Show sidebar only when the cursor is over it */ -/* The border controlling sidebar width will be removed so you'll need to modify these values to change width */ - -#sidebar-box{ ---uc-sidebar-width: 60px; ---uc-sidebar-hover-width: 230px; ---uc-autohide-sidebar-delay: 200ms; /* Wait 0.2s before hiding sidebar */ ---uc-autohide-transition-duration: 115ms; ---uc-autohide-transition-type: linear; ---browser-area-z-index-sidebar: 3; -position: relative; - min-width: var(--uc-sidebar-width) !important; -width: var(--uc-sidebar-width) !important; - max-width: var(--uc-sidebar-width) !important; - z-index: var(--browser-area-z-index-sidebar,3); -} -#sidebar-box[positionend]{ direction: rtl } -#sidebar-box[positionend] > *{ direction: ltr } - -#sidebar-box[positionend]:-moz-locale-dir(rtl){ direction: ltr } -#sidebar-box[positionend]:-moz-locale-dir(rtl) > *{ direction: rtl } - -#main-window[sizemode=\"fullscreen\"] #sidebar-box{ --uc-sidebar-width: 1px; } - -#sidebar-splitter{ display: none } - -#sidebar-header{ -overflow: hidden; -color: var(--chrome-color, inherit) !important; - padding-inline: 0 !important; -} - -#sidebar-header::before, -#sidebar-header::after{ -content: \"\"; -display: flex; - padding-left: 8px; -} - -#sidebar-header, -#sidebar{ -transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important; - min-width: var(--uc-sidebar-width) !important; - will-change: min-width; -} -#sidebar-box:hover > #sidebar-header, -#sidebar-box:hover > #sidebar{ -min-width: var(--uc-sidebar-hover-width) !important; -transition-delay: 0ms !important; -} - -.sidebar-panel{ -background-color: transparent !important; -color: var(--newtab-text-primary-color) !important; -} - -.sidebar-panel #search-box{ --moz-appearance: none !important; -background-color: rgba(249,249,250,0.1) !important; -color: inherit !important; -} - -/* Add sidebar divider and give it background */ - -#sidebar, -#sidebar-header{ -background-color: inherit !important; -border-inline: 1px solid rgb(80,80,80); -border-inline-width: 0px 1px; -} - -#sidebar-box:not([positionend]) > :-moz-locale-dir(rtl), -#sidebar-box[positionend] > *{ -border-inline-width: 1px 0px; -} - -/* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */ - -#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{ -inset-inline: auto 0px !important; -} -#sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{ -margin-inline: 0px !important; -border-left-style: solid !important; -} - -/* Remove the tabs label and move the Sidebary icon to the center of the box */ -#sidebar-box:hover [id=\"sidebar-icon\"] { -transform: translateX(0px) !important; - transition-delay: 0ms !important; -} - -#sidebar-box [id=\"sidebar-icon\"] { -transform: translateX(9px); -transition: transform var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important; -} - -#sidebar-box [id=\"sidebar-title\"] { -visibility: hidden !important; -transition: visibility var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important; -} - -#sidebar-box:hover [id=\"sidebar-title\"] { -visibility: visible !important; - transition-delay: 0ms !important; -} -"; -}; -}; -} -- cgit v1.3.1