dotfiles/nix/deployments/nixops.nix

31 lines
729 B
Nix
Raw Normal View History

2022-07-30 19:42:03 -07:00
{
network = {
name = "house";
enableRollback = true;
description = "machines used in my house";
storage.legacy = { };
};
2022-07-30 19:42:03 -07:00
defaults = {
imports = [
# make sure you have properly added the home-manager channel!
<home-manager/nixos>
];
2022-07-30 19:42:03 -07:00
documentation.enable = false;
# for nixops to log in and perform operations as haak (instead of root)
security.sudo.wheelNeedsPassword = false;
users.users.root.openssh.authorizedKeys.keys = [
(import ../system/framework/keys.nix).public
];
home-manager.users.haak = (import ../home/commandline.nix);
2022-07-30 19:42:03 -07:00
};
2022-07-30 19:42:03 -07:00
nas = {
deployment.targetHost = "192.168.1.65";
imports = [ ../system/xps11/configuration.nix ];
};
}