browsers: add zen browser flake

This commit is contained in:
Anthony Rodriguez 2024-09-19 13:23:21 +02:00
parent 4c182af2a2
commit ae71c950ed
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
3 changed files with 40 additions and 3 deletions

View file

@ -525,6 +525,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": {
"locked": {
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"devshell": "devshell", "devshell": "devshell",
@ -583,7 +599,8 @@
"nixvim": "nixvim", "nixvim": "nixvim",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix", "stylix": "stylix",
"wezterm": "wezterm" "wezterm": "wezterm",
"zen-browser": "zen-browser"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -753,6 +770,24 @@
"type": "github" "type": "github"
} }
}, },
"zen-browser": {
"inputs": {
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1726001766,
"narHash": "sha256-ADvEWfo0AuHR06ah1nnzOyhsG05/b5QpUc7vFNbiEfM=",
"owner": "MarceColl",
"repo": "zen-browser-flake",
"rev": "06505a088396e2c0b9ad100302502783a6bcdb40",
"type": "github"
},
"original": {
"owner": "MarceColl",
"repo": "zen-browser-flake",
"type": "github"
}
},
"zlib": { "zlib": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -19,6 +19,7 @@
url = "github:wez/wezterm/main?dir=nix"; url = "github:wez/wezterm/main?dir=nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
zen-browser.url = "github:MarceColl/zen-browser-flake";
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
}; };
@ -41,7 +42,7 @@
home-manager.sharedModules = [ home-manager.sharedModules = [
nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
]; ];
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs system; };
} }
{ _module.args = { inherit hostname username; }; } { _module.args = { inherit hostname username; }; }
]; ];

View file

@ -1,6 +1,7 @@
{ ... }: { inputs, system, ... }:
{ {
programs.firefox.enable = true; programs.firefox.enable = true;
programs.chromium.enable = true; programs.chromium.enable = true;
home.packages = [ inputs.zen-browser.packages."${system}".specific ];
} }