From 48bde846d43488b457f28c277fe85a30fe6ec636 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 30 Jul 2019 19:16:19 +0000 Subject: [PATCH] Manage root with home-manager --- home-manager.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/home-manager.nix b/home-manager.nix index c4ec1e0..6b340b5 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -11,6 +11,20 @@ in { home-manager.useUserPackages = true; + home-manager.users.root = { + programs = { + zsh = { + enable = true; + oh-my-zsh = { + enable = true; + theme = "gentoo"; + plugins = [ "git" ]; + }; + }; + }; + home.file.".emacs.d/init.el".source = ./etc/emacs.el; + }; + home-manager.users.user = { programs = { git = {