feat: cleanup

This commit is contained in:
johannes committed 2026-09-21 16:36:29 +02:00
1 parent c0ad26a840
commit 8a5808a432
9 files changed
+146 -270

No files matched your search

+27 -19
View File
@@ -7,33 +7,41 @@
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";
url = "github:BlueManCZ/hyprmod";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify.url = "github:Gerg-L/spicetify-nix";
};
outputs = { self, nixpkgs, home-manager, agenix, chaotic, nixcord, hyprmod, spicetify, ... }:
outputs =
{
self,
nixpkgs,
home-manager,
chaotic,
nixcord,
hyprmod,
spicetify,
...
}:
let
mkHome = system: home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit hyprmod spicetify; };
modules = [
agenix.homeManagerModules.age
nixcord.homeModules.nixcord
./home.nix
chaotic.homeModules.default
spicetify.homeManagerModules.default
];
};
in {
mkHome =
system:
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit hyprmod spicetify; };
modules = [
nixcord.homeModules.nixcord
./home.nix
chaotic.homeModules.default
spicetify.homeManagerModules.default
];
};
in
{
homeConfigurations = {
mac = mkHome "aarch64-darwin";
linux = mkHome "x86_64-linux";