diff --git a/apps/helium.nix b/apps/helium.nix new file mode 100644 index 0000000..ac8e787 --- /dev/null +++ b/apps/helium.nix @@ -0,0 +1,9 @@ +#./apps/helium.nix +{ inputs, pkgs, lib, config, ... }: +{ + config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) { + environment.systemPackages = [ + inputs.helium-browser.packages.${pkgs.stdenv.hostPlatform.system}.default + ]; + }; +} diff --git a/common.nix b/common.nix index c544812..9436ec1 100644 --- a/common.nix +++ b/common.nix @@ -89,6 +89,7 @@ in ./settings/users.nix ./settings/shell.nix ./apps/zen.nix + ./apps/helium.nix # Services # ./services/server-permissions.nix diff --git a/flake.lock b/flake.lock index 6e71edf..19c55dd 100644 --- a/flake.lock +++ b/flake.lock @@ -172,6 +172,26 @@ "type": "github" } }, + "helium-browser": { + "inputs": { + "nixpkgs": "nixpkgs", + "nixpkgs-darwin": "nixpkgs-darwin", + "utils": "utils" + }, + "locked": { + "lastModified": 1786886160, + "narHash": "sha256-legFYpDokCOzwAPmyH7mDi+2jkllaeE+czhJifeQsFU=", + "owner": "schembriaiden", + "repo": "helium-browser-nix-flake", + "rev": "11edc339e075f16b356852096420ecd966462cc1", + "type": "github" + }, + "original": { + "owner": "schembriaiden", + "repo": "helium-browser-nix-flake", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -197,7 +217,7 @@ "inputs": { "flake-compat": "flake-compat", "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1786924392, @@ -216,16 +236,32 @@ }, "nixpkgs": { "locked": { - "lastModified": 1786869074, - "narHash": "sha256-s1WmhEljVugdJy4WU7SMkoK+j59nmFnaMMCCWEhnAI0=", + "lastModified": 1786599213, + "narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "56e3883079f8f1959e61c0a8293e47e0fa90eaa4", + "rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-unstable-small", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-darwin": { + "locked": { + "lastModified": 1786527240, + "narHash": "sha256-OLtJPnSXcRy79Rf7BhYaMeXAVF625FpLcd3+Svq641Y=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e0c84f9d0ad137f076dc957494f5b39885597d4f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-26.05-darwin", "repo": "nixpkgs", "type": "github" } @@ -246,6 +282,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1786869074, + "narHash": "sha256-s1WmhEljVugdJy4WU7SMkoK+j59nmFnaMMCCWEhnAI0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "56e3883079f8f1959e61c0a8293e47e0fa90eaa4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1786711500, "narHash": "sha256-QvnceIGTBeDvDd9oCn+GvdsnkquliuwbVgpiRH68qaQ=", @@ -261,7 +313,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1786862985, "narHash": "sha256-FBJRXmbGXiSUDvYEbfLYRkckayyZ6SK1UEqhCrIZ2Cs=", @@ -277,7 +329,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1785386831, "narHash": "sha256-sPS3CaXH8RAT3FZRuy4VcV47iuYIWMMfa0GbyJKC3o4=", @@ -293,7 +345,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1786599213, "narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=", @@ -336,7 +388,7 @@ }, "proton-cachyos-nix": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1786897415, @@ -354,9 +406,10 @@ }, "root": { "inputs": { + "helium-browser": "helium-browser", "home-manager": "home-manager", "nix-cachyos-kernel": "nix-cachyos-kernel", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "proton-cachyos-nix": "proton-cachyos-nix", "stylix": "stylix", "zen-browser": "zen-browser" @@ -371,9 +424,9 @@ "firefox-gnome-theme": "firefox-gnome-theme", "flake-parts": "flake-parts_2", "gnome-shell": "gnome-shell", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "nur": "nur", - "systems": "systems", + "systems": "systems_2", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", "tinted-tmux": "tinted-tmux", @@ -409,6 +462,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-kitty": { "flake": false, "locked": { @@ -473,12 +541,30 @@ "type": "github" } }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "zen-browser": { "inputs": { "home-manager": [ "home-manager" ], - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1786883935, diff --git a/flake.nix b/flake.nix index b8a70b2..cb56ede 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,11 @@ inputs.home-manager.follows = "home-manager"; }; + helium-browser = { + url = "github:schembriaiden/helium-browser-nix-flake"; + # no nixpkgs.follows: uses unstable-only lib attrs (libx11, libgbm) + }; + nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; proton-cachyos-nix.url = "github:powerofthe69/proton-cachyos-nix"; @@ -25,6 +30,7 @@ , nixpkgs , home-manager , zen-browser + , helium-browser , nix-cachyos-kernel , stylix , proton-cachyos-nix