marleyos/flake.nix
2024-11-11 21:29:04 -08:00

57 lines
1.3 KiB
Nix

{
description = "marleyOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixgl.url = "github:nix-community/nixGL";
rose-pine.url = "git+https://codewith.babesonthe.net/punkfairie/rose-pine-nix";
# Rose pine themes that aren't included in the above flake:
# TODO: Integrate these to punkfairie/rose-pine-nix.
rose-pine-amfora = {
url = "github:rose-pine/amfora";
flake = false;
};
rose-pine-qt5ct = {
url = "github:piperbly/rose-pine-qt5ct";
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;
inherit inputs;
};
modules = [
inputs.rose-pine.homeManagerModules.rose-pine
./modules/home/shellAbbrs.nix
./modules/home/iconTheme.nix
./home
];
};
};
}