mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
c85d2d45ba
This makes it possible to easily use packages from this repository in your own separate nix-config flake. This also makes it easier to test packages locally since `nix build .#package` can be used instead of building the entire system derivation.
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix = {
|
|
url = "github:bluskript/stylix";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
sakaya = {
|
|
url = "github:donovanglover/sakaya";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... } @ attrs: with nixpkgs.lib; {
|
|
nixosConfigurations = {
|
|
nixos = nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = attrs;
|
|
modules = [ ./. ];
|
|
};
|
|
};
|
|
|
|
packages."x86_64-linux" = with nixpkgs.legacyPackages."x86_64-linux"; {
|
|
aleo-fonts = callPackage ./packages/aleo-fonts.nix { };
|
|
fluent-icons = callPackage ./packages/fluent-icons.nix { };
|
|
hycov = callPackage ./packages/hycov.nix { };
|
|
osu-backgrounds = callPackage ./packages/osu-backgrounds.nix { };
|
|
webp-thumbnailer = callPackage ./packages/webp-thumbnailer.nix { };
|
|
};
|
|
};
|
|
}
|