dotnix/flake.nix
2025-03-29 19:05:05 +01:00

59 lines
1.3 KiB
Nix

{
description = "marked dots";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix.url = "github:danth/stylix";
};
outputs = { nixpkgs, ... } @ inputs: let
system = "x86_64-linux";
host = "swordfish";
profile = "nvidia-laptop";
username = "marked";
in {
nixosConfigurations = {
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 ];
};
};
};
}