Remove impermanence home-manager module
Too many bugs to deal with unfortunately. Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
}:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
userConfig = config.users.users.${username};
|
||||
hmConfig = config.home-manager.users.${username};
|
||||
in
|
||||
{
|
||||
@@ -20,11 +19,10 @@ in
|
||||
|
||||
users.users.${username}.extraGroups = [ "adbusers" ];
|
||||
|
||||
home-manager.users.${username}.home = {
|
||||
sessionVariables.ANDROID_USER_HOME = "${hmConfig.xdg.dataHome}/android";
|
||||
persistence."/persist${userConfig.home}".files = [
|
||||
"${hmConfig.xdg.dataHome}/android/adbkey"
|
||||
"${hmConfig.xdg.dataHome}/android/adbkey.pub"
|
||||
];
|
||||
};
|
||||
environment.persistence."/persist".users.${username}.files = [
|
||||
"${hmConfig.xdg.relativeDataHome}/android/adbkey"
|
||||
"${hmConfig.xdg.relativeDataHome}/android/adbkey.pub"
|
||||
];
|
||||
|
||||
home-manager.users.${username}.home.sessionVariables.ANDROID_USER_HOME = "${hmConfig.xdg.dataHome}/android";
|
||||
}
|
||||
|
Reference in New Issue
Block a user