diff --git a/flake.lock b/flake.lock index dc81c9a..219e8ba 100644 --- a/flake.lock +++ b/flake.lock @@ -68,6 +68,28 @@ "type": "github" } }, + "browser-previews": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1785455513, + "narHash": "sha256-U9TnaXo8SDPpW1kWQvouTs1FqCGBqBYWNoJWtZ07VME=", + "owner": "nix-community", + "repo": "browser-previews", + "rev": "69f0e1e740645319fe675f436c4ea5e0a62942ae", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "browser-previews", + "type": "github" + } + }, "bun2nix": { "inputs": { "flake-parts": [ @@ -103,7 +125,7 @@ }, "codex-desktop-linux": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs" }, "locked": { @@ -334,7 +356,28 @@ }, "flake-utils": { "inputs": { - "systems": "systems" + "systems": [ + "browser-previews", + "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" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" }, "locked": { "lastModified": 1731533236, @@ -371,7 +414,7 @@ "flake-compat": "flake-compat", "home-manager": "home-manager", "nixpkgs": "nixpkgs_2", - "systems": "systems_2", + "systems": "systems_3", "zig": "zig", "zon2nix": "zon2nix" }, @@ -497,7 +540,7 @@ "bun2nix": "bun2nix", "flake-parts": "flake-parts_2", "nixpkgs": "nixpkgs_4", - "systems": "systems_3", + "systems": "systems_4", "treefmt-nix": "treefmt-nix" }, "locked": { @@ -901,7 +944,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_4" + "systems": "systems_5" }, "locked": { "lastModified": 1782919967, @@ -986,6 +1029,7 @@ }, "root": { "inputs": { + "browser-previews": "browser-previews", "codex-desktop-linux": "codex-desktop-linux", "disko": "disko", "flake-parts": "flake-parts", @@ -1006,7 +1050,7 @@ "services-flake": "services-flake", "sops-nix": "sops-nix", "stylix": "stylix", - "systems": "systems_6", + "systems": "systems_7", "treefmt-nix": "treefmt-nix_2", "vicinae": "vicinae", "vicinae-extensions": "vicinae-extensions" @@ -1100,7 +1144,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_5", + "systems": "systems_6", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", "tinted-tmux": "tinted-tmux", @@ -1122,21 +1166,20 @@ }, "systems": { "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "lastModified": 1680978846, + "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "repo": "x86_64-linux", + "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", "type": "github" }, "original": { "owner": "nix-systems", - "repo": "default", + "repo": "x86_64-linux", "type": "github" } }, "systems_2": { - "flake": false, "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1152,6 +1195,7 @@ } }, "systems_3": { + "flake": false, "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1241,6 +1285,21 @@ "type": "github" } }, + "systems_9": { + "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": { @@ -1348,7 +1407,7 @@ "inputs": { "nixpkgs": "nixpkgs_11", "soulver-cpp": "soulver-cpp", - "systems": "systems_7" + "systems": "systems_8" }, "locked": { "lastModified": 1785357589, @@ -1370,7 +1429,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_8", + "systems": "systems_9", "vicinae": "vicinae_2" }, "locked": { diff --git a/flake.nix b/flake.nix index c5eba3d..6847993 100644 --- a/flake.nix +++ b/flake.nix @@ -94,6 +94,11 @@ # Systems systems.url = "github:nix-systems/default"; + + browser-previews = { + url = "github:nix-community/browser-previews"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/hosts/galleria/nixos.nix b/hosts/galleria/nixos.nix index 6d3e5c2..d643b3d 100644 --- a/hosts/galleria/nixos.nix +++ b/hosts/galleria/nixos.nix @@ -1,4 +1,4 @@ -_: +{ inputs, pkgs, ... }: let diskIdentifiers = import ./disk-identifiers.nix; in @@ -10,4 +10,8 @@ in boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-partuuid/${diskIdentifiers.nixosPartUuid}"; + + environment.systemPackages = with inputs.browser-previews.packages.${pkgs.system}; [ + google-chrome-beta + ]; }