restructure hosts

This commit is contained in:
2025-10-17 16:03:44 -05:00
parent d4f55ea042
commit 25122a4c9c
7 changed files with 54 additions and 12 deletions

View File

@@ -10,6 +10,7 @@
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
@@ -40,6 +41,7 @@
nixpkgs,
nixpkgs-unstable,
nix-darwin,
nix-homebrew,
...
} @ inputs: let
systems = {
@@ -55,7 +57,7 @@
system = systems.x86_64;
specialArgs = {inherit inputs stable_pkgs unstable_pkgs;};
modules = [
./hosts/snowbelle/configuration.nix
./hosts/nixos/snowbelle/configuration.nix
inputs.home-manager.nixosModules.default
];
};
@@ -63,7 +65,7 @@
system = systems.x86_64;
specialArgs = {inherit inputs stable_pkgs unstable_pkgs;};
modules = [
./hosts/vaniville/configuration.nix
./hosts/nixos/vaniville/configuration.nix
inputs.home-manager.nixosModules.default
];
};
@@ -71,9 +73,9 @@
darwinConfigurations = {
CEN-IT-07 = nix-darwin.lib.darwinSystem {
system = systems.darwin;
specialArgs = {inherit inputs stable_pkgs unstable_pkgs;};
specialArgs = {inherit inputs stable_pkgs unstable_pkgs nix-homebrew;};
modules = [
./hosts/cen-it-07/configuration.nix
./hosts/darwin/cen-it-07/configuration.nix
inputs.home-manager.darwinModules.default
];
};