new: textfox--a firefox tui-like experience

This commit is contained in:
kenji
2025-12-26 09:52:50 -06:00
parent 8f6dc9796d
commit f0b48b9f61
3 changed files with 135 additions and 14 deletions
+50
View File
@@ -4,6 +4,56 @@
inputs,
...
}: {
imports = [
inputs.textfox.homeManagerModules.default
];
textfox = {
enable = true;
profile = "hakase";
config = {
# background = {
# color = "#123456";
# };
# border = {
# color = "#654321";
# width = "4px";
# transition = "1.0s ease";
# radius = "3px";
# };
# displayWindowControls = true;
# displayNavButtons = true;
# displayUrlbarIcons = true;
# displaySidebarTools = false;
displayTitles = true;
# newtabLogo = " __ __ ____ \A / /____ _ __/ /_/ __/___ _ __\A / __/ _ \\| |/_/ __/ /_/ __ \\| |/_/\A / /_/ __/> </ /_/ __/ /_/ /> < \A \\__/\\___/_/|_|\\__/_/ \\____/_/|_| ";
# font = {
# family = "Fira Code";
# size = "15px";
# accent = "#654321";
# };
tabs = {
horizontal.enable = false;
# horizontal.enable = true;
# vertical.enable = true;
# vertical.margin = "1.0rem";
};
# navbar = {
# margin = "8px 8px 2px";
# padding = "4px";
# };
bookmarks = {
alignment = "left";
};
# icons = {
# toolbar.extensions.enable = true;
# context.extensions.enable = true;
# context.firefox.enable = true;
# };
# textTransform = "uppercase";
# extraConfig = "/* custom css here */";
};
};
programs.firefox = {
enable = true;
languagePacks = ["en-US"];
Generated
+81 -8
View File
@@ -166,6 +166,29 @@
"type": "github"
}
},
"firefox-addons": {
"inputs": {
"nixpkgs": [
"textfox",
"nixpkgs"
]
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1754512310,
"narHash": "sha256-gXE5lTYMOhpDJo+siLXW/3BzySPmLMD12GVB1QFVbyw=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "2008f9aa7a5ccde48bfc1de5a919be5898da09c2",
"type": "gitlab"
},
"original": {
"dir": "pkgs/firefox-addons",
"owner": "rycee",
"repo": "nur-expressions",
"type": "gitlab"
}
},
"firefox-gnome-theme": {
"flake": false,
"locked": {
@@ -311,9 +334,7 @@
"inputs": {
"flake-utils": "flake-utils",
"naersk": "naersk",
"nixpkgs": [
"nixpkgs"
]
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1765408827,
@@ -882,6 +903,22 @@
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1744536153,
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
@@ -897,7 +934,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1766309749,
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
@@ -913,7 +950,23 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_7": {
"locked": {
"lastModified": 1728492678,
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1757068644,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
@@ -1008,9 +1061,10 @@
"home-manager": "home-manager_2",
"hyprland": "hyprland",
"nixovim": "nixovim",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"sops-nix": "sops-nix",
"stylix": "stylix",
"textfox": "textfox",
"walker": "walker"
}
},
@@ -1054,7 +1108,7 @@
},
"rust-overlay_2": {
"inputs": {
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1766544144,
@@ -1214,6 +1268,25 @@
"type": "github"
}
},
"textfox": {
"inputs": {
"firefox-addons": "firefox-addons",
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1763730250,
"narHash": "sha256-OPlKRltdA2iIm70Nw/kWt5FnwxR1xmxC44tqGUX7Hro=",
"owner": "adriankarlen",
"repo": "textfox",
"rev": "2f385d16abab56984b874627ca0dd4f3ca7ae4ac",
"type": "github"
},
"original": {
"owner": "adriankarlen",
"repo": "textfox",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
@@ -1300,7 +1373,7 @@
"elephant": [
"elephant"
],
"nixpkgs": "nixpkgs_6",
"nixpkgs": "nixpkgs_8",
"systems": "systems_6"
},
"locked": {
+4 -6
View File
@@ -4,11 +4,8 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
elephant.url = "github:abenz1267/elephant";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
fsel = {
url = "github:Mjoyufull/fsel";
inputs.nixpkgs.follows = "nixpkgs";
};
textfox.url = "github:adriankarlen/textfox";
fsel.url = "github:Mjoyufull/fsel";
home-manager = {
url = "github:nix-community/home-manager";
@@ -43,10 +40,11 @@
nixpkgs,
home-manager,
stylix,
nixovim, # FIXME: should be inside of modules
nixovim,
chaotic,
sops-nix,
fsel,
textfox,
...
} @ inputs: let
config = import ./config.nix;