more secrets
This commit is contained in:
parent
fa0974cb63
commit
5fd3d3a40a
8 changed files with 119 additions and 13 deletions
|
@ -1,10 +1,17 @@
|
|||
{ config, lib, pkgs, settings, ... } @ args:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
settings,
|
||||
...
|
||||
}@args:
|
||||
{
|
||||
users.users.root = {
|
||||
initialPassword = "password1";
|
||||
};
|
||||
|
||||
system.activationScripts.sshConfig = {
|
||||
# TODO revisit this, this is stupid and ugly what am I doing here...
|
||||
text = ''
|
||||
mkdir -p /root/.ssh
|
||||
ln -snf ${config.age.secrets.nix2github.path} /root/.ssh/nix2github
|
||||
|
@ -12,4 +19,3 @@
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue