2024-10-18 17:38:09 -07:00
|
|
|
{
|
|
|
|
description = "marleyOS";
|
|
|
|
|
2024-11-12 21:31:22 -08:00
|
|
|
outputs =
|
|
|
|
{ self, ... }@inputs:
|
|
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
2024-11-13 18:28:18 -08:00
|
|
|
debug = true;
|
|
|
|
|
2024-11-12 21:31:22 -08:00
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
];
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
inputs.nixos-unified.flakeModules.default
|
2024-11-13 20:06:04 -08:00
|
|
|
inputs.devenv.flakeModule
|
2024-11-12 21:31:22 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
flake = {
|
|
|
|
homeModules.marley =
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-11-13 21:00:00 -08:00
|
|
|
imports =
|
|
|
|
let
|
|
|
|
myHomeMods = "${self}/modules/home";
|
|
|
|
in
|
|
|
|
[
|
|
|
|
inputs.rose-pine.homeManagerModules.rose-pine
|
|
|
|
"${myHomeMods}/iconTheme.nix"
|
|
|
|
"${myHomeMods}/shellAbbrs.nix"
|
|
|
|
"${self}/home"
|
|
|
|
];
|
2024-11-12 21:31:22 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
perSystem =
|
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
me = "marley";
|
|
|
|
inherit (self.nixos-unified.lib) mkHomeConfiguration;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
legacyPackages.homeConfigurations."${me}" = mkHomeConfiguration pkgs (
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-11-13 21:11:48 -08:00
|
|
|
imports = [
|
|
|
|
"${self}/modules/home/me.nix"
|
|
|
|
self.homeModules."${me}"
|
|
|
|
];
|
|
|
|
|
|
|
|
me.name = me;
|
2024-11-12 21:31:22 -08:00
|
|
|
home.stateVersion = "24.05";
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
2024-11-13 20:06:04 -08:00
|
|
|
devenv.shells.default = {
|
2024-11-14 10:13:11 -08:00
|
|
|
imports = [
|
|
|
|
"${self}/shells/base.nix"
|
|
|
|
"${self}/shells/nix.nix"
|
|
|
|
];
|
2024-11-13 20:06:04 -08:00
|
|
|
};
|
|
|
|
|
2024-11-12 21:31:22 -08:00
|
|
|
formatter = pkgs.nixfmt-rfc-style;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-10-18 17:38:09 -07:00
|
|
|
inputs = {
|
2024-11-12 21:31:22 -08:00
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
nixos-unified.url = "github:srid/nixos-unified";
|
|
|
|
|
2024-10-18 17:38:09 -07:00
|
|
|
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
|
|
|
|
2024-11-13 20:06:04 -08:00
|
|
|
devenv.url = "github:cachix/devenv";
|
|
|
|
|
2024-11-11 21:23:32 -08:00
|
|
|
rose-pine.url = "git+https://codewith.babesonthe.net/punkfairie/rose-pine-nix";
|
2024-11-03 00:10:01 -07:00
|
|
|
|
|
|
|
# Rose pine themes that aren't included in the above flake:
|
2024-11-11 21:23:32 -08:00
|
|
|
# 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-10-18 17:38:09 -07:00
|
|
|
};
|
|
|
|
}
|