1
0
Fork 0

Improve keys

This commit is contained in:
Ethan Reece 2025-09-21 20:39:48 -05:00
parent a7b97ea126
commit 36e29f4cc7
Signed by: me
GPG key ID: DD8CE04D5D8FF832
5 changed files with 13 additions and 4 deletions

1
.envrc
View file

@ -16,4 +16,5 @@ watch_file ./nix-darwin/flake-module.nix
watch_file ./nix-darwin/macos/flake-module.nix
watch_file ./nix-on-droid/flake-module.nix
watch_file ./nix-on-droid/pixel6p/flake-module.nix
watch_file ./public-keys.nix
use flake

View file

@ -100,7 +100,7 @@
profiles =
let
name = "Ethan Reece";
keys = (import ./publicKeys.nix);
keys = (import ./public-keys.nix);
in
{
personal = rec {
@ -112,7 +112,7 @@
homeManagerSystem = "aarch64-linux";
names.default = name;
emails.default = "contact@${domains.realName}";
sshKeys = keys.ssh.personal;
sshKeys = keys.ssh.profiles.personal;
};
utdallas = rec {
enable = true;
@ -210,7 +210,7 @@
excludes = [
".sops.yaml"
"sops/*"
"publicKeys.nix"
"public-keys.nix"
];
vale."{**/*.md}".packages = {
RedHat.enable = true;

View file

@ -42,6 +42,7 @@
programs = {
vim.enable = true;
git.enable = true;
gnupg.enable = true;
}
// lib.mkIf config.flakeSettings.graphical {
niri.enable = true;

View file

@ -86,6 +86,13 @@
default = "";
type = lib.types.str;
};
sshKeys = lib.mkOption {
description = ''
SSH keys for profile.
'';
default = [ ];
type = lib.types.listOf lib.types.str;
};
};
}
);

View file

@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT
{
ssh.personal = [
ssh.profiles.personal = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWUVBj2uBVfXGjWwXmOTQmqP1oc2ZfDtylhTEox6JBm ssh@sudoer777.dev"
];
}