Improve keys
This commit is contained in:
parent
a7b97ea126
commit
36e29f4cc7
5 changed files with 13 additions and 4 deletions
1
.envrc
1
.envrc
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
programs = {
|
||||
vim.enable = true;
|
||||
git.enable = true;
|
||||
gnupg.enable = true;
|
||||
}
|
||||
// lib.mkIf config.flakeSettings.graphical {
|
||||
niri.enable = true;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{
|
||||
ssh.personal = [
|
||||
ssh.profiles.personal = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWUVBj2uBVfXGjWwXmOTQmqP1oc2ZfDtylhTEox6JBm ssh@sudoer777.dev"
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue