Skip to content

Instantly share code, notes, and snippets.

@arianvp
Last active December 14, 2016 14:54
Show Gist options
  • Save arianvp/42c0ab4c4ba21b5b2bbca1acae787005 to your computer and use it in GitHub Desktop.
Save arianvp/42c0ab4c4ba21b5b2bbca1acae787005 to your computer and use it in GitHub Desktop.
{ config, pkgs, ...}:
{
imports =
[
./hardware-configuration.nix
./grub.nix
./users.nix
./services.nix
./security-patches.nix
./security.nix
];
}
{
"arianvp.me" =
{ pkgs, config, ...}:
{
imports = [
"./arianvp.me/configuration.nix"
];
deployment.targetHost = "arianvp.me";
};
}
╰─$ nixops deploy
error: string ‘./arianvp.me/configuration.nix’ doesn't represent an absolute path, at /home/arian/.nix-defexpr/channels/nixpkgs/lib/modules.nix:99:60
(use ‘--show-trace’ to show detailed location information)
error: evaluation of the deployment specification failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment