marleyos/flake.nix

40 lines
864 B
Nix

{
description = "marleyOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
alejandra = {
url = "github:kamadorueda/alejandra/3.0.0";
inputs.nixpkgs.follows = "nixpkgs";
};
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 = {inherit system inputs;};
modules = [
./home
inputs.rose-pine.homeManagerModules.rose-pine
];
};
};
}