diff --git a/configuration.nix b/configuration.nix index cd14931..f2682a6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,7 +7,6 @@ { imports = ./hardware-configuration.nix - ./flake.nix ]; # Bootloader. diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..951e4fe --- /dev/null +++ b/flake.nix @@ -0,0 +1,12 @@ +{ + description = "NixOS configuration with flakes"; + inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + + outputs = { self, nixpkgs, nixos-hardware }: { + nixosConfigurations. = nixpkgs.lib.nixosSystem { + modules = [ + nixos-hardware.nixosModules.framework + ]; + }; + }; +}