switch from zen-browser to floorp

this change was made for a multitude of reasons:
1. Zen's constant updates would be completely fine if they didn't almost always result in some part of my workflow being broken. I want my browser to be stable, I don't want updating to break the address bar completely like the latest update as of writing (1.0.2b)
2. Floorp is supported by Home Manager, allowing me to declaratively manage my browser configuration.
This commit is contained in:
cswimr 2024-12-11 15:05:31 -05:00
parent c873a86f32
commit 4b31769241
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
5 changed files with 229 additions and 35 deletions

View file

@ -6,6 +6,10 @@
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -32,7 +36,6 @@
url = "github:aksiksi/compose2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser.url = "github:0xc000022070/zen-browser-flake";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
catppuccin-vsc.url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
};
@ -48,7 +51,10 @@
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ inputs.catppuccin-vsc.overlays.default ];
overlays = [
inputs.catppuccin-vsc.overlays.default
inputs.nur.overlays.default
];
config.allowUnfree = true;
};
in
@ -91,6 +97,7 @@
inputs.sops-nix.nixosModules.sops
inputs.nixvim.nixosModules.nixvim
inputs.nur.modules.nixos.default
inputs.nix-flatpak.nixosModules.nix-flatpak
inputs.lanzaboote.nixosModules.lanzaboote
@ -114,7 +121,10 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
sharedModules = [
inputs.nur.modules.homeManager.default
inputs.plasma-manager.homeManagerModules.plasma-manager
];
backupFileExtension = "bak";
extraSpecialArgs = {
inherit inputs;
@ -125,6 +135,7 @@
};
users.${user} = {
imports = [
./home-manager/browser.nix
./home-manager/plasma.nix
./home-manager/tpm.nix
./home-manager/user.nix