homeserver: migrate to 24.11
This commit is contained in:
parent
df38983ef5
commit
a61d1e0f24
|
@ -158,8 +158,9 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.enableAllFirmware = true;
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
intel-vaapi-driver
|
||||
|
|
|
@ -8,16 +8,17 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
services.samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
openFirewall = true;
|
||||
extraConfig = ''
|
||||
workgroup = WORKGROUP
|
||||
server string = smbnix
|
||||
netbios name = smbnix
|
||||
security = user
|
||||
guest account = ${user.name}
|
||||
'';
|
||||
shares = {
|
||||
settings = {
|
||||
global = {
|
||||
"invalid users" = [ "root" ];
|
||||
workgroup = "WORKGROUP";
|
||||
"server string" = "smbnix";
|
||||
"netbios name" = "smbnix";
|
||||
security = "user";
|
||||
"guest account" = user.name;
|
||||
"passwd program" = "/run/wrappers/bin/passwd %u";
|
||||
};
|
||||
nas = {
|
||||
path = "/nas";
|
||||
browsable = "yes";
|
||||
|
|
Loading…
Reference in a new issue