From 7ceec2ac090eab9a2dfebaabd98ce796d1f44d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Sat, 9 Nov 2024 23:12:03 +0100 Subject: [PATCH] feat: glfw --- flake.lock | 37 ++++++++++++++++++++++++++++++++++++- flake.nix | 1 + home/programs/packages.nix | 4 +++- home/system/wlsunset.nix | 2 +- 4 files changed, 41 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 7b4beb8..e287e84 100644 --- a/flake.lock +++ b/flake.lock @@ -1081,6 +1081,22 @@ "type": "indirect" } }, + "nixpkgs_8": { + "locked": { + "lastModified": 1727348695, + "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nur": { "locked": { "lastModified": 1731157072, @@ -1135,7 +1151,8 @@ "nur": "nur", "spicetify-nix": "spicetify-nix", "split-monitor-workspaces": "split-monitor-workspaces", - "stylix": "stylix" + "stylix": "stylix", + "zen-browser": "zen-browser" } }, "rust-overlay": { @@ -1432,6 +1449,24 @@ "repo": "xdg-desktop-portal-hyprland", "type": "github" } + }, + "zen-browser": { + "inputs": { + "nixpkgs": "nixpkgs_8" + }, + "locked": { + "lastModified": 1727721329, + "narHash": "sha256-QYlWZwUSwrM7BuO+dXclZIwoPvBIuJr6GpFKv9XKFPI=", + "owner": "MarceColl", + "repo": "zen-browser-flake", + "rev": "e6ab73f405e9a2896cce5956c549a9cc359e5fcc", + "type": "github" + }, + "original": { + "owner": "MarceColl", + "repo": "zen-browser-flake", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 124c506..6bea950 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,7 @@ chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; nur.url = "github:nix-community/NUR"; nix-alien.url = "github:thiagokokada/nix-alien"; + zen-browser.url = "github:MarceColl/zen-browser-flake"; hyprsunset.url = "github:hyprwm/hyprsunset"; hyprsysteminfo.url = "github:/hyprwm/hyprsysteminfo"; diff --git a/home/programs/packages.nix b/home/programs/packages.nix index 46585d2..9bbcd7c 100644 --- a/home/programs/packages.nix +++ b/home/programs/packages.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ inputs, pkgs, ... }: { programs.direnv.enable = true; programs.direnv.nix-direnv.enable = true; @@ -57,6 +57,7 @@ helio-workstation keepassxc vesktop + inputs.zen-browser.packages."${system}".default # > gaming < # prismlauncher @@ -83,5 +84,6 @@ nixfmt-rfc-style nemo nixd + glfw-wayland-minecraft ]; } diff --git a/home/system/wlsunset.nix b/home/system/wlsunset.nix index a6d37ad..5503f5f 100644 --- a/home/system/wlsunset.nix +++ b/home/system/wlsunset.nix @@ -4,7 +4,7 @@ gamma = 0.8; sunrise = "7:00"; - sunset = "19:00"; + sunset = "21:00"; temperature.night = 4000; };