marleyos/flake.nix
punkfairie cc51153ece
feat(darwin): Big messy darwin bootstrap
I thought about splitting this into smaller commits but fuck it
2024-11-21 20:28:46 -08:00

84 lines
1.8 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
];
systems.modules.darwin = with inputs; [
lix.nixosModules.default
];
homes.modules = with inputs; [
rose-pine.homeManagerModules.rose-pine
];
outputs-builder = channels: {
formatter = channels.nixpkgs.nixfmt-rfc-style;
};
alias = {
shells.default = "nix";
};
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
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";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
devenv.url = "github:cachix/devenv";
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;
};
# Rofi
rofi-themes = {
url = "git+https://codewith.babesonthe.net/punkfairie/rofi-themes";
flake = false;
};
};
}