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:
oddlama 2023-09-04 22:02:05 +02:00
parent 562d1dffb3
commit 32ca87e3a6
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 10 additions and 4 deletions

View file

@ -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