This commit is contained in:
root 2026-05-02 10:03:39 -03:00
parent 73ff9ee8ee
commit 664eb70e8c
No known key found for this signature in database
14 changed files with 698 additions and 495 deletions

View file

@ -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 = {