marleyos/flake.nix

31 lines
672 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
alejandra = {
url = "github:kamadorueda/alejandra/3.0.0";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2024-10-19 09:42:19 -07:00
outputs = { nixpkgs, home-manager, ... }@inputs: {
homeConfigurations."marley" = let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in home-manager.lib.homeManagerConfiguration {
2024-10-19 09:42:19 -07:00
inherit system;
inherit pkgs;
2024-10-19 09:42:19 -07:00
inherit inputs;
modules = [ ./home ];
};
};
}