Re: [Nix-dev] Managing /home during system activation

2017-04-17 Thread Peter Jones
David Izquierdo writes: > That's stupid genius in my eyes. What I'd been doing is to find a way > to make software look in /etc/xdg before ~/.config, with... varying > degrees of success. Is there anywhere we could read your > implementation? I haven't actually written any

Re: [Nix-dev] Managing /home during system activation

2017-04-16 Thread David Izquierdo
That's stupid genius in my eyes. What I'd been doing is to find a way to make software look in /etc/xdg before ~/.config, with... varying degrees of success. Is there anywhere we could read your implementation? On 15/04/17 19:36, Peter Jones wrote: I'd like to manage files in my home

Re: [Nix-dev] Managing /home during system activation

2017-04-15 Thread Roger Qiu
Biggest problem is with how secrets are dealt with. Also that you're tieing your home config with system config, which doesn't work well for a multi-user system. On 16/04/2017 3:37 AM, "Peter Jones" wrote: > I'd like to manage files in my home directory during system

[Nix-dev] Managing /home during system activation

2017-04-15 Thread Peter Jones
I'd like to manage files in my home directory during system activation. Sort of like nix-home[1] but during activation so NixOps can also deploy things such as my shell configuration. I have an idea, and I'm wondering how terrible it is. Based on the way etc activation works, I would build a