This repository has been archived on 2026-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

62 lines
1.4 KiB
Nix

{
description = "Home Manager configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
nixcord.url = "github:kaylorben/nixcord";
hyprmod = {
url = "github:BlueManCZ/hyprmod";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify.url = "github:Gerg-L/spicetify-nix";
superfile = {
url = "github:yorukot/superfile";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
home-manager,
agenix,
chaotic,
nixcord,
hyprmod,
spicetify,
superfile,
...
}:
let
mkHome =
system:
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit hyprmod spicetify superfile; };
modules = [
agenix.homeManagerModules.age
nixcord.homeModules.nixcord
./home.nix
chaotic.homeModules.default
spicetify.homeManagerModules.default
];
};
in
{
homeConfigurations = {
mac = mkHome "aarch64-darwin";
linux = mkHome "x86_64-linux";
};
};
}