more secrets

This commit is contained in:
RingOfStorms (Josh) 2024-05-07 01:02:42 -05:00
parent fa0974cb63
commit 5fd3d3a40a
8 changed files with 119 additions and 13 deletions

View file

@ -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 @@
'';
};
}