nixos/flake.nix

30 lines
642 B
Nix
Raw Normal View History

2025-05-10 16:33:30 +01:00
{
2025-05-11 00:02:21 +01:00
description = "NixOS configuration for hypr-nix with zen-browser";
2025-05-10 16:33:30 +01:00
inputs = {
2025-05-10 19:38:58 +01:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
2025-05-26 15:58:46 +01:00
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
2025-05-10 22:44:45 +01:00
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
2025-05-26 15:58:46 +01:00
inputs.nixpkgs.follows = "nixpkgs-unstable";
2025-05-10 22:44:45 +01:00
};
2025-05-10 16:33:30 +01:00
};
2025-05-11 00:02:21 +01:00
outputs = { self, nixpkgs, zen-browser, ... }: {
2025-05-10 16:33:30 +01:00
nixosConfigurations.hypr-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2025-05-10 22:44:45 +01:00
2025-05-10 16:33:30 +01:00
modules = [
./hosts/hypr-nix/configuration.nix
2025-05-10 22:44:45 +01:00
2025-05-10 16:33:30 +01:00
];
2025-05-10 22:44:45 +01:00
specialArgs = {
zen-browser = zen-browser;
};
2025-05-10 16:33:30 +01:00
};
};
}