On branch ddubs-dev Your branch is up to date with 'origin/ddubs-dev'. Changes to be committed: modified: CHANGELOG.md modified: flake.lock modified: flake.nix modified: modules/core/flatpak.nix
94 lines
2.2 KiB
Nix
94 lines
2.2 KiB
Nix
{
|
|
description = "ZaneyOS";
|
|
|
|
inputs = {
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
nvf.url = "github:notashelf/nvf";
|
|
stylix.url = "github:danth/stylix/release-25.05";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
|
|
};
|
|
|
|
outputs = {
|
|
nixpkgs,
|
|
home-manager,
|
|
nix-flatpak,
|
|
...
|
|
} @ inputs: let
|
|
system = "x86_64-linux";
|
|
host = "zaneyos-oem";
|
|
profile = "vm";
|
|
username = "dwilliams";
|
|
in {
|
|
nixosConfigurations = {
|
|
amd = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit host;
|
|
inherit profile;
|
|
};
|
|
modules = [
|
|
./profiles/amd
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
};
|
|
nvidia = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit host;
|
|
inherit profile;
|
|
};
|
|
modules = [
|
|
./profiles/nvidia
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
};
|
|
nvidia-laptop = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit host;
|
|
inherit profile;
|
|
};
|
|
modules = [
|
|
./profiles/nvidia-laptop
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
};
|
|
intel = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit host;
|
|
inherit profile;
|
|
};
|
|
modules = [
|
|
./profiles/intel
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
};
|
|
vm = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit username;
|
|
inherit host;
|
|
inherit profile;
|
|
};
|
|
modules = [
|
|
./profiles/vm
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|