marleyos/flake.nix

43 lines
876 B
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";
};
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;
};
modules = [
./home
inputs.rose-pine.homeManagerModules.rose-pine
];
};
};
}