marleyos/flake.nix

50 lines
1 KiB
Nix
Raw Normal View History

{
description = "marleyOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-10-19 09:42:19 -07:00
nixgl.url = "github:nix-community/nixGL";
2024-10-19 17:25:26 -07:00
rose-pine.url = "git+https://git.punkfairie.net/punkfairie/rose-pine-nix";
2024-11-03 00:10:01 -07:00
# Rose pine themes that aren't included in the above flake:
rose-pine-amfora = {
url = "github:rose-pine/amfora";
flake = false;
};
};
outputs =
{
nixpkgs,
home-manager,
...
}@inputs:
{
homeConfigurations."marley" =
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = with inputs; {
inherit nixgl;
2024-11-03 00:10:01 -07:00
inherit inputs;
};
modules = [
./home
inputs.rose-pine.homeManagerModules.rose-pine
];
};
};
}