marleyos/flake.nix

90 lines
2 KiB
Nix
Raw Normal View History

{
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
];
2024-11-15 19:52:27 -08:00
homes.modules = with inputs; [
rose-pine.homeManagerModules.rose-pine
];
2024-11-15 19:52:27 -08:00
outputs-builder = channels: {
formatter = channels.nixpkgs.nixfmt-rfc-style;
};
2024-11-17 16:29:23 -08:00
alias = {
shells.default = "nix";
};
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-11-21 21:27:08 -08:00
unstable.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";
};
2024-10-19 09:42:19 -07:00
rose-pine.url = "git+https://codewith.babesonthe.net/punkfairie/rose-pine-nix";
2024-11-03 00:10:01 -07:00
2024-11-21 21:27:08 -08:00
lixyvim = {
url = "git+https://codewith.babesonthe.net/punkfairie/lixyvim";
inputs.nixpkgs.follows = "nixpkgs";
inputs.unstable.follows = "unstable";
};
2024-11-03 00:10:01 -07:00
# Rose pine themes that aren't included in the above flake:
# TODO: Integrate these to punkfairie/rose-pine-nix.
2024-11-03 00:10:01 -07:00
rose-pine-amfora = {
url = "github:rose-pine/amfora";
flake = false;
};
2024-11-03 13:16:43 -08:00
rose-pine-qt5ct = {
url = "github:piperbly/rose-pine-qt5ct";
flake = false;
};
2024-11-17 19:01:26 -08:00
# Rofi
rofi-themes = {
url = "git+https://codewith.babesonthe.net/punkfairie/rofi-themes";
flake = false;
};
};
}