nixos/flake.nix
ediblerope c6986a8a3c Add Helium browser with Proton Pass and disabled password manager
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 21:13:45 +01:00

43 lines
1.2 KiB
Nix

{
description = "FredOS NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
helium = {
url = "github:schembriaiden/helium-browser-nix-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, zen-browser, nix-cachyos-kernel, helium, ... } @ inputs:
let
system = "x86_64-linux";
mkHost = hostname: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
./hosts/${hostname}.nix
./hosts/hardware/${hostname}.nix
./common.nix
home-manager.nixosModules.home-manager
];
};
in {
nixosConfigurations = {
FredOS-Gaming = mkHost "FredOS-Gaming";
FredOS-Mediaserver = mkHost "FredOS-Mediaserver";
FredOS-Macbook = mkHost "FredOS-Macbook";
};
};
}