test import dir
This commit is contained in:
parent
2be184a535
commit
817e85b1be
3 changed files with 39 additions and 1 deletions
18
flake.nix
18
flake.nix
|
|
@ -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; };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue