zaneyos/flake.nix

74 lines
1.7 KiB
Nix
Raw Normal View History

2024-01-09 23:50:24 +01:00
{
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";
2024-01-09 23:50:24 +01:00
};
2025-02-17 05:40:55 +01:00
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;
2024-01-13 06:53:25 +01:00
};
2025-02-17 05:40:55 +01:00
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];
2024-01-09 23:50:24 +01:00
};
};
2025-02-17 05:40:55 +01:00
};
2024-01-09 23:50:24 +01:00
}