zaneyos/flake.nix
2025-03-19 13:45:17 -05:00

73 lines
1.7 KiB
Nix

{
description = "ZaneyOS";
inputs = {
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nvf.url = "github:notashelf/nvf";
stylix.url = "github:danth/stylix";
};
outputs = {nixpkgs, ...} @ inputs: let
system = "x86_64-linux";
host = "nixstation";
profile = "nvidia";
username = "zaney";
in {
nixosConfigurations = {
amd = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
};
modules = [./profiles/amd];
};
nvidia = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
};
modules = [./profiles/nvidia];
};
nvidia-laptop = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
};
modules = [./profiles/nvidia-laptop];
};
intel = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
};
modules = [./profiles/intel];
};
vm = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
};
modules = [./profiles/vm];
};
};
};
}