omniflake/flake.nix
2023-05-09 22:42:40 +02:00

23 lines
579 B
Nix

{
description = "First stab at a flake for my system config"
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs }: {
nixosConfigurations = {
romulus = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
{ config, pkgs, ... }:
{
networking.hostName = "romulus";
}
./hardware-romulus.nix
./configuration.nix
];
};
};
};
}