refactor(homeModules/system): move user config to module
This commit is contained in:
parent
84bacb23f0
commit
a34c6a294c
2 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
|||
{ config, pkgs, osConfig, ... }:
|
||||
|
||||
{
|
||||
cli.shell = "zsh";
|
||||
cli.editor = "nvf";
|
||||
|
@ -32,15 +31,8 @@
|
|||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
home.persistence."/persist/home/rafiq" = {
|
||||
directories = [
|
||||
".ssh"
|
||||
".config/sops/age"
|
||||
home.persistence."/persist/home/rafiq".directories = [
|
||||
"repos"
|
||||
".local/share/zoxide"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
|
12
modules/home/system/default.nix
Normal file
12
modules/home/system/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
home.persistence."/persist/home/${config.snowfallorg.user.name}" = {
|
||||
directories = [
|
||||
".ssh"
|
||||
".config/sops/age"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue