mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 13:49:11 +02:00
feat[server]: storage migration finished
This commit is contained in:
parent
c6539ed484
commit
3422a39da5
94 changed files with 1963 additions and 1626 deletions
|
|
@ -10,6 +10,12 @@ in
|
|||
avahi = confLib.mkIds 978;
|
||||
};
|
||||
|
||||
environment.persistence."/state" = lib.mkIf config.swarselsystems.isMicroVM {
|
||||
directories = [
|
||||
{ directory = "/var/cache/samba"; }
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
# add a user with sudo smbpasswd -a <user>
|
||||
samba = {
|
||||
|
|
@ -35,7 +41,7 @@ in
|
|||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "no";
|
||||
path = "/Vault/Eternor";
|
||||
path = "/storage";
|
||||
writable = "true";
|
||||
comment = "Eternor";
|
||||
"valid users" = nfsUser;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue