mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
started adding config for nas
This commit is contained in:
parent
7e57ead3c5
commit
216cd53d70
2 changed files with 55 additions and 0 deletions
20
hosts/strawberry/configuration.nix
Normal file
20
hosts/strawberry/configuration.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, username, ...}: {
|
||||
services.samba = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
users.users.nas = {
|
||||
|
||||
};
|
||||
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
};
|
||||
|
||||
systemd.tempfiles.rules = [
|
||||
"d /srv/files 0755 nas nas"
|
||||
];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue