nixos-config/users/root.nix

44 lines
776 B
Nix
Raw Normal View History

2020-12-02 08:44:56 -08:00
{ config, pkgs, lib, ... }:
let
name = "Root";
email = "root@fudo.org";
in {
programs = {
git = {
enable = true;
userName = name;
userEmail = email;
};
};
services.gpg-agent.enable = true;
2021-01-21 14:48:52 -08:00
home = {
file = {
".doom.d" = {
source = pkgs.doom-emacs-config;
recursive = true;
onChange = "${pkgs.doomEmacsInit}/bin/doom-emacs-init.sh";
};
2020-12-02 09:24:58 -08:00
2021-01-21 14:48:52 -08:00
".k5login" = {
source = pkgs.writeText "niten-k5login" ''
2020-12-02 09:24:58 -08:00
niten@FUDO.ORG
niten/root@FUDO.ORG
niten@INFORMIS.LAND
niten/root@INFORMIS.LAND
'';
2021-01-21 14:48:52 -08:00
};
};
sessionVariables = {
EDITOR = "emacsclient -t";
ALTERNATE_EDITOR = "";
HISTCONTROL = "ignoredups:ignorespace";
2020-12-02 09:24:58 -08:00
};
2020-12-02 08:44:56 -08:00
};
}