mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-10 02:58:17 +01:00
74 lines
1.7 KiB
Nix
74 lines
1.7 KiB
Nix
{
|
|
description = "ZaneyOS";
|
|
|
|
inputs = {
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
|
|
nvf.url = "github:notashelf/nvf";
|
|
stylix.url = "github:danth/stylix/release-24.11";
|
|
};
|
|
|
|
outputs = {nixpkgs, ...} @ inputs: let
|
|
system = "x86_64-linux";
|
|
host = "default";
|
|
profile = "amd";
|
|
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];
|
|
};
|
|
};
|
|
};
|
|
}
|