flake.lock: Update

Update samba config
Flake lock file updates:

• Updated input 'copyparty':
    'github:9001/copyparty/ab8bd0178b26a0b6c6406f7bae835d13b16ef188?narHash=sha256-B1j0ahVuxyZtpbFfy34gk2DjacimPIuzyzCPvDhvxI4%3D' (2026-02-23)
  → 'github:9001/copyparty/8a9066c35cd94226ee0e99d5d36e8b630ed8d2a3?narHash=sha256-QDBoepUZNQaIEvOqCGku6XjUp2sSh%2B7xamA8vNe9HlQ%3D' (2026-03-11)
• Updated input 'darwin':
    'github:LnL7/nix-darwin/6a7fdcd5839ec8b135821179eea3b58092171bcf?narHash=sha256-9SeTZ4Pwr730YfT7V8Azb8GFbwk1ZwiQDAwft3qAD%2Bo%3D' (2026-02-19)
  → 'github:LnL7/nix-darwin/da529ac9e46f25ed5616fd634079a5f3c579135f?narHash=sha256-zm3ftUQw0MPumYi91HovoGhgyZBlM4o3Zy0LhPNwzXE%3D' (2026-03-08)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9a4b494b1aa1b93d8edf167f46dc8e0c0011280c?narHash=sha256-gFgE6mGUftwseV3DUENMb0k0EiHd739lZexPo5O/sdQ%3D' (2026-02-23)
  → 'github:nix-community/home-manager/3f98e2bbc661ec0aaf558d8a283d6955f05f1d09?narHash=sha256-EdW2bwzlfme0vbMOcStnNmKlOAA05Bp6su2O8VLGT0k%3D' (2026-03-10)
• Removed input 'nixos-hardware'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0182a361324364ae3f436a63005877674cf45efb?narHash=sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ%3D' (2026-02-17)
  → 'github:NixOS/nixpkgs/9dcb002ca1690658be4a04645215baea8b95f31d?narHash=sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs%3D' (2026-03-08)
This commit is contained in:
Jan Kremer 2026-03-11 13:34:40 +01:00
parent 786fe4861e
commit 892d87612a
No known key found for this signature in database
2 changed files with 23 additions and 37 deletions

41
flake.lock generated
View file

@ -31,11 +31,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771834427, "lastModified": 1773190009,
"narHash": "sha256-B1j0ahVuxyZtpbFfy34gk2DjacimPIuzyzCPvDhvxI4=", "narHash": "sha256-QDBoepUZNQaIEvOqCGku6XjUp2sSh+7xamA8vNe9HlQ=",
"owner": "9001", "owner": "9001",
"repo": "copyparty", "repo": "copyparty",
"rev": "ab8bd0178b26a0b6c6406f7bae835d13b16ef188", "rev": "8a9066c35cd94226ee0e99d5d36e8b630ed8d2a3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -73,11 +73,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771520882, "lastModified": 1773000227,
"narHash": "sha256-9SeTZ4Pwr730YfT7V8Azb8GFbwk1ZwiQDAwft3qAD+o=", "narHash": "sha256-zm3ftUQw0MPumYi91HovoGhgyZBlM4o3Zy0LhPNwzXE=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "6a7fdcd5839ec8b135821179eea3b58092171bcf", "rev": "da529ac9e46f25ed5616fd634079a5f3c579135f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -129,11 +129,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1771851181, "lastModified": 1773179137,
"narHash": "sha256-gFgE6mGUftwseV3DUENMb0k0EiHd739lZexPo5O/sdQ=", "narHash": "sha256-EdW2bwzlfme0vbMOcStnNmKlOAA05Bp6su2O8VLGT0k=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "9a4b494b1aa1b93d8edf167f46dc8e0c0011280c", "rev": "3f98e2bbc661ec0aaf558d8a283d6955f05f1d09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -142,29 +142,13 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1771423359,
"narHash": "sha256-yRKJ7gpVmXbX2ZcA8nFi6CMPkJXZGjie2unsiMzj3Ig=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "740a22363033e9f1bb6270fbfb5a9574067af15b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1771369470, "lastModified": 1772963539,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0182a361324364ae3f436a63005877674cf45efb", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -180,7 +164,6 @@
"copyparty": "copyparty", "copyparty": "copyparty",
"darwin": "darwin_2", "darwin": "darwin_2",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
}, },

View file

@ -1,42 +1,45 @@
{ pkgs, ... }:
{ {
services.samba = { services.samba = {
enable = true; enable = true;
package = pkgs.samba4Full;
usershares.enable = true;
settings = { settings = {
global = { global = {
"vfs objects" = "catia fruit streams_xattr"; "vfs objects" = "catia fruit streams_xattr";
"fruit:model" = "MacPro7,1@ECOLOR=226,226,224"; "fruit:model" = "MacPro7,1@ECOLOR=226,226,224";
"force user" = "jan";
}; };
Cloud = { Cloud = {
path = "/mnt/cloud"; path = "/mnt/cloud";
writeable = "yes"; writeable = "yes";
"valid users" = "jan";
}; };
Media = { Media = {
path = "/mnt/media"; path = "/mnt/media";
writeable = "yes"; writeable = "yes";
"valid users" = "jan";
}; };
TimeMachine = { TimeMachine = {
path = "/mnt/timemachine"; path = "/mnt/timemachine";
writeable = "yes"; writeable = "yes";
"fruit:time machine" = "yes"; "fruit:time machine" = "yes";
"fruit:time machine max size" = "1000G";
"valid users" = "jan";
}; };
}; };
}; };
## Used to advertise the shares to Windows hosts ## Used to advertise the shares to Windows hosts
services.samba-wsdd = { services.samba-wsdd.enable = true;
enable = true;
};
services.avahi = { services.avahi = {
enable = true; enable = true;
publish.enable = true; nssmdns4 = true;
publish.userServices = true; publish = {
enable = true;
userServices = true;
};
}; };
} }