2022-07-30 19:42:03 -07:00
|
|
|
{
|
|
|
|
|
network = {
|
|
|
|
|
name = "house";
|
|
|
|
|
enableRollback = true;
|
|
|
|
|
description = "machines used in my house";
|
|
|
|
|
|
|
|
|
|
storage.legacy = { };
|
|
|
|
|
};
|
2022-07-31 22:42:37 -07:00
|
|
|
|
2022-07-30 19:42:03 -07:00
|
|
|
defaults = {
|
2022-07-31 00:28:11 -07:00
|
|
|
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;
|
2022-07-31 00:25:55 -07:00
|
|
|
|
|
|
|
|
# for nixops to log in and perform operations as haak (instead of root)
|
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
2022-07-31 22:42:37 -07:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
2022-07-31 22:45:58 -07:00
|
|
|
(import ../system/framework/keys.nix).ssh.public
|
2022-07-31 22:42:37 -07:00
|
|
|
];
|
2022-07-31 00:28:11 -07:00
|
|
|
home-manager.users.haak = (import ../home/commandline.nix);
|
2022-07-30 19:42:03 -07:00
|
|
|
};
|
2022-07-31 22:42:37 -07:00
|
|
|
|
2022-07-30 19:42:03 -07:00
|
|
|
nas = {
|
|
|
|
|
deployment.targetHost = "192.168.1.65";
|
|
|
|
|
imports = [ ../system/xps11/configuration.nix ];
|
|
|
|
|
};
|
|
|
|
|
}
|