test import dir

This commit is contained in:
nyxerinys 2026-06-22 14:53:15 -05:00
parent 2be184a535
commit 817e85b1be
3 changed files with 39 additions and 1 deletions

View file

@ -11,6 +11,13 @@
url = "github:nix-darwin/nix-darwin/nix-darwin-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew = {
url = "github:zhaofengli/nix-homebrew";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
@ -19,11 +26,19 @@
url = "git+ssh://git@git.nyxerinys.dev:222/nyxerinys/nix-secrets";
flake = false;
};
};
outputs = { self, nixpkgs, nix-darwin, ... } @ inputs:
outputs = { self, nixpkgs, nix-darwin, home-manager, ... } @ inputs:
let
blades = import ./hosts/servers/blades/systems.nix { inherit inputs; };
homeConf = home-manager.darwinModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Pass the home.nix configuration to your specific user profile
home-manager.users."nyxerinys" = import ./modules/home/nyxerinys;
};
in
{
nixosConfigurations = {
@ -60,6 +75,7 @@
modules = [
# ./hosts/base.nix
./hosts/artemis
homeConf
];
specialArgs = { inherit inputs; };
};