diff --git a/configuration.nix b/configuration.nix index d4cd3b1..117f568 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ config, pkgs, inputs, ... }: { imports = diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..521fb02 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + description = "simple NixOS flake"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + + outputs = inputs@{ self, nixpkgs, ... }: { + nixosConfigurations.nemesis = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; + modules = [ + ./configuration.nix + ]; + }; + }; +}