move to directory based layout

This commit is contained in:
2026-08-14 08:45:50 -05:00
parent 77c6f4fa83
commit efad2c82e8
4 changed files with 30 additions and 19 deletions

View File

@@ -6,11 +6,12 @@
# Use `nix flake update` to update the flake to the latest revision of the chosen release channel.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
};
outputs = inputs@{ self, nixpkgs, ... }: {
# NOTE: 'nixos' is the default hostname
nixosConfigurations."demilich" = nixpkgs.lib.nixosSystem {
modules = [ ./configuration.nix ];
outputs =
inputs@{ self, nixpkgs, ... }:
{
# NOTE: 'nixos' is the default hostname
nixosConfigurations."demilich" = nixpkgs.lib.nixosSystem {
modules = [ ./demilich/configuration.nix ];
};
};
};
}