.
This commit is contained in:
parent
73ff9ee8ee
commit
664eb70e8c
14 changed files with 698 additions and 495 deletions
|
|
@ -2,6 +2,9 @@
|
|||
{
|
||||
home-manager.users.root =
|
||||
{ config, ... }:
|
||||
let
|
||||
HOME = "/root";
|
||||
in
|
||||
{
|
||||
imports = [ ./nvim ];
|
||||
home.username = "root";
|
||||
|
|
@ -12,13 +15,6 @@
|
|||
home.file."/.ssh/desktop.pub".text =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILquARrJ3Vyh5z6aeVoiYrkLpgiMts+V/JzFEvs3Cnth root@icefox.sh";
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = false;
|
||||
extraConfig = {
|
||||
XDG_CACHE_HOME = "${config.home.homeDirectory}/.cache";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
ssh = {
|
||||
enable = true;
|
||||
|
|
@ -48,7 +44,7 @@
|
|||
name = "root";
|
||||
};
|
||||
gpg.format = "ssh";
|
||||
user.signingkey = "${config.home.homeDirectory}/.ssh/desktop.pub";
|
||||
user.signingkey = "${HOME}/.ssh/desktop.pub";
|
||||
commit.gpgsign = true;
|
||||
tag.gpgsign = true;
|
||||
core = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue