2025-05-10 16:33:30 +01:00
|
|
|
{
|
2025-05-10 22:44:45 +01:00
|
|
|
description = "NixOS configuration for hypr-nix with Home Manager and 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-10 22:44:45 +01:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
zen-browser = {
|
|
|
|
url = "github:0xc000022070/zen-browser-flake";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2025-05-10 16:33:30 +01:00
|
|
|
};
|
|
|
|
|
2025-05-10 22:44:45 +01:00
|
|
|
outputs = { self, nixpkgs, home-manager, 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
|
|
|
|
|
|
|
# Home Manager as a NixOS module
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
|
|
|
home-manager.users.micqdf = import ./home/micqdf.nix;
|
|
|
|
}
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|