fix: impermanence permission
This commit is contained in:
@@ -21,7 +21,10 @@
|
||||
"workspace"
|
||||
"Virt"
|
||||
|
||||
".ssh"
|
||||
{
|
||||
directory = ".ssh";
|
||||
mode = "0700";
|
||||
}
|
||||
".local/state"
|
||||
".local/share"
|
||||
".local/share/nvim"
|
||||
|
||||
@@ -14,6 +14,11 @@ lib.my.makeHomeProgramConfig {
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
my.persist.homeDirs = [ ".gnupg" ];
|
||||
my.persist.homeDirs = [
|
||||
{
|
||||
directory = ".gnupg";
|
||||
mode = "0700";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ in
|
||||
'';
|
||||
};
|
||||
homeDirs = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
example = lib.literalExpression ''
|
||||
[
|
||||
@@ -33,7 +32,6 @@ in
|
||||
'';
|
||||
};
|
||||
nixosDirs = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
example = lib.literalExpression ''
|
||||
[
|
||||
@@ -46,7 +44,6 @@ in
|
||||
'';
|
||||
};
|
||||
homeFiles = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
example = lib.literalExpression ''
|
||||
[
|
||||
@@ -58,7 +55,6 @@ in
|
||||
'';
|
||||
};
|
||||
nixosFiles = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
example = lib.literalExpression ''
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user