forked from mirrors_public/oddlama_nix-config
fix: wrong nvidia enable path in home-manager impermanence passthrough; and impermanence requires root home directory to be set separately
This commit is contained in:
parent
562d1dffb3
commit
32ca87e3a6
3 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -10,6 +9,10 @@
|
|||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# This cannot currently be derived automatically due to a design flaw in nixpkgs.
|
||||
environment.persistence."/state".users.root.home = "/root";
|
||||
environment.persistence."/persist".users.root.home = "/root";
|
||||
|
||||
home-manager.users.root = {
|
||||
imports = [
|
||||
../common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue