marleyos/flake.nix
punkfairie 83de2f8264
fix: Finally fix homeManager/darwin outputs
I forgot to add new modules to darwin/homeManager outputs oops
2025-03-20 19:11:19 -07:00

104 lines
2.4 KiB
Nix

{
description = "marleyOS";
outputs = inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
snowfall = {
namespace = "marleyos";
title = "marleyOS";
};
channels-config = {
allowUnfree = true;
};
overlays = with inputs; [
lix.overlays.default
nur.overlays.default
agenix.overlays.default
niri-flake.overlays.niri
];
systems.modules.nixos = with inputs; [
agenix.nixosModules.default
stylix.nixosModules.stylix
niri-flake.nixosModules.niri
];
systems.modules.darwin = with inputs; [
agenix.darwinModules.default
lix.nixosModules.default
];
homes.modules = with inputs; [
agenix.homeManagerModules.default
stylix.homeManagerModules.stylix
niri-flake.homeModules.niri
nixcord.homeManagerModules.nixcord
];
outputs-builder = channels: {
formatter = channels.nixpkgs.alejandra;
};
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
lix = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
darwin = {
url = "github:LnL7/nix-darwin/nix-darwin-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
darwin.follows = "darwin";
home-manager.follows = "home-manager";
};
};
nixgl = {
url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix.url = "github:danth/stylix/release-24.11";
niri-flake.url = "github:sodiboo/niri-flake";
wezterm = {
url = "github:wez/wezterm?dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
};
marleyvim.url = "git+https://codewith.babesonthe.net/punkfairie/marleyvim";
nixcord.url = "github:kaylorben/nixcord";
};
}