refactor into modules
This commit is contained in:
@@ -51,31 +51,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nixpkgs-pre-ad01, home-manager, rust-overlay, stylix, niri, codex-cli-nix, claude-code-nix, binaryninja, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pinnedPkgs = nixpkgs-pre-ad01.legacyPackages.${system};
|
||||
in {
|
||||
homeConfigurations.lusia = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
outputs = inputs: {
|
||||
homeConfigurations.lusia = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
||||
modules = [
|
||||
stylix.homeModules.stylix
|
||||
./noctalia.nix
|
||||
./home.nix
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
rust-overlay.overlays.default
|
||||
(final: prev: {
|
||||
gqrx = pinnedPkgs.gqrx;
|
||||
krita = pinnedPkgs.krita;
|
||||
})
|
||||
];
|
||||
home.packages = [ pkgs.rustup ];
|
||||
})
|
||||
];
|
||||
modules = [
|
||||
inputs.stylix.homeModules.stylix
|
||||
./home.nix
|
||||
];
|
||||
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
};
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user