feat: zen

This commit is contained in:
s-prechtl 2025-07-01 14:58:38 +02:00
parent 52187c037f
commit 91f39d5851
5 changed files with 33 additions and 11 deletions

32
flake.lock generated
View file

@ -115,6 +115,27 @@
"type": "github"
}
},
"home-manager_3": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1751336185,
"narHash": "sha256-ptnVr2x+sl7cZcTuGx/0BOE2qCAIYHTcgfA+/h60ml0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "96354906f58464605ff81d2f6c2ea23211cbf051",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"lowdown-src": {
"flake": false,
"locked": {
@ -328,18 +349,19 @@
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_3",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1727721329,
"narHash": "sha256-QYlWZwUSwrM7BuO+dXclZIwoPvBIuJr6GpFKv9XKFPI=",
"owner": "MarceColl",
"lastModified": 1751341208,
"narHash": "sha256-D659vmh5bseh5rB0tH4osXFXimh+QQLBBMKkdMH/DMk=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "e6ab73f405e9a2896cce5956c549a9cc359e5fcc",
"rev": "97da6393f00eff37d787dcb1447afc65e9b4d57e",
"type": "github"
},
"original": {
"owner": "MarceColl",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}

View file

@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
zen-browser.url = "github:MarceColl/zen-browser-flake";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
mms.url = "github:mkaito/nixos-modded-minecraft-servers";
agenix.url = "github:ryantm/agenix";

View file

@ -138,7 +138,6 @@
google-chrome
goose
hyprshot
inputs.zen-browser.packages."${system}".specific
jdk
jdt-language-server
kdePackages.dolphin

View file

@ -1,9 +1,10 @@
{
config,
pkgs,
inputs,
...
}: {
imports = [
inputs.zen-browser.homeModules.twilight
../../modules/home-manager/hyprland.nix
../../modules/home-manager/pass.nix
../../modules/home-manager/btop.nix
@ -92,5 +93,6 @@
};
# Let Home Manager install and manage itself.
programs.zen-browser.enable = true;
programs.home-manager.enable = true;
}

View file

@ -15,8 +15,8 @@
[
"$mod SHIFT, E, exit"
"$mod, Q, killactive"
"$mod, B, exec, brave"
"SUPERCTRLALTSHIFT, L, exec, brave https://linkedin.com"
"$mod, B, exec, zen"
"SUPERCTRLALTSHIFT, L, exec, zen https://linkedin.com"
"$mod, return, exec, alacritty"
"$mod,E,exec,nautilus"
"$mod,D,exec,killall -q rofi; rofi -show drun"
@ -165,7 +165,6 @@
];
};
};
# Optional, hint Electron apps to use Wayland:
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
ELECTRON_OZONE_PLATFORM_HINT = "auto";