dotfiles/nixos/systems/tweedledee.nix
main 03c3647edf
Add secret override to tweedledee and tweedledum
Signed-off-by: main <magic_rb@redalder.org>
2022-11-28 01:35:45 +01:00

41 lines
816 B
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{
system = "x86_64-linux";
name = "tweedledee";
module = {
pkgs,
config,
inputs,
roots,
...
}: {
imports = [
(roots.nixos + "/profiles/oracle-cloud.nix")
];
home-manager.users."main" =
{...}:
{
home.stateVersion = "22.05";
};
_module.args.nixinate = {
host = "tweedledee.redalder.org";
sshUser = "main";
buildOn = "local";
substituteOnTarget = true;
hermetic = false;
nixOptions = [
"--override-input secret path://$HOME/dotfiles/secret"
];
};
magic_rb.hardware.tweedledum = true;
networking.hostName = "tweedledee";
system.stateVersion = "20.09";
};
}