chore(tazjin/khamovnik): load private Emacs config automatically
Change-Id: I26374733c35c2165363eaae45f56ba1e9facfe99 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9167 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
d4c8840c57
commit
e06d38ae54
1 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,7 @@ config:
|
|||
let
|
||||
mod = name: depot.path.origSrc + ("/ops/modules/" + name);
|
||||
usermod = name: depot.path.origSrc + ("/users/tazjin/nixos/modules/" + name);
|
||||
private = /arc/junk/tazjin/nixos/yandex.nix;
|
||||
private = /arc/junk/tazjin;
|
||||
|
||||
zdevice = device: {
|
||||
inherit device;
|
||||
|
@ -23,7 +23,10 @@ in
|
|||
(usermod "laptop.nix")
|
||||
(usermod "physical.nix")
|
||||
(pkgs.home-manager.src + "/nixos")
|
||||
] ++ lib.optional (builtins.pathExists private) private;
|
||||
] ++ (if (builtins.pathExists private) then [
|
||||
(private + "/nixos/yandex.nix")
|
||||
(private + "/emacs/module.nix")
|
||||
] else [ ]);
|
||||
|
||||
# from hardware-configuration.nix
|
||||
boot = {
|
||||
|
|
Loading…
Reference in a new issue