···
+
outputs = inputs.self.outputs;
unstable = import nixpkgs-unstable {
config.allowUnfree = true;
···
# Available through 'nixos-rebuild --flake .#your-hostname'
moonlark = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
# > Our main nixos configuration file <
···
inputs.disko.nixosModules.disko
{ disko.devices.disk.disk1.device = "/dev/vda"; }
agenix.nixosModules.default
+
{ nixpkgs.hostPlatform = "x86_64-linux"; }
./nixos/machines/moonlark/configuration.nix
···
"tacyon" = home-manager.lib.homeManagerConfiguration {
config.allowUnfree = true;
nixpkgs-unstable = nixpkgs-unstable;
./home-manager/machines/tacyon
+
{ nixpgs.hostPlatform = "aarch64-linux"; }
"nest" = home-manager.lib.homeManagerConfiguration {
config.allowUnfree = true;
nixpkgs-unstable = nixpkgs-unstable;
./home-manager/machines/nest
+
{ nixpkgs.hostPlatform = "x86_64-linux"; }
"ember" = home-manager.lib.homeManagerConfiguration {
config.allowUnfree = true;
nixpkgs-unstable = nixpkgs-unstable;
./home-manager/machines/ember
+
{ nixpkgs.hostPlatform = "x86_64-linux"; }
+
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-tree;