marleyos/flake.nix
punkfairie 7d98dd2edd
feat(abbrs): New module for home.shellAbbrs
Allows setting home.shellAbbrs that either get set as Fish shell
abbreviations or converted to shell aliases depending on if Fish is
active.

Abbrs that depend on Fish-specific features get automatically filtered
out.
2024-11-03 18:48:50 -08:00

55 lines
1.2 KiB
Nix

{
description = "marleyOS";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixgl.url = "github:nix-community/nixGL";
rose-pine.url = "git+https://git.punkfairie.net/punkfairie/rose-pine-nix";
# Rose pine themes that aren't included in the above flake:
rose-pine-amfora = {
url = "github:rose-pine/amfora";
flake = false;
};
rose-pine-qt5ct = {
url = "github:piperbly/rose-pine-qt5ct";
flake = false;
};
};
outputs =
{
nixpkgs,
home-manager,
...
}@inputs:
{
homeConfigurations."marley" =
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = # with inputs;
{
# inherit nixgl;
inherit inputs;
};
modules = [
inputs.rose-pine.homeManagerModules.rose-pine
./modules/home/shellAbbrs.nix
./home
];
};
};
}