nixos/archisteamfarm: don't use asf abbreviation for more clarity#272147
nixos/archisteamfarm: don't use asf abbreviation for more clarity#272147pbsds merged 2 commits intoNixOS:masterfrom
Conversation
d9fde85 to
8d713c8
Compare
8d713c8 to
88f1771
Compare
b72d3f5 to
2e9ac71
Compare
|
Reproduced the eval error locally with |
2e9ac71 to
244c052
Compare
|
A rebase seems to have fixed that. Not sure why but I take it. :) |
|
Ofborg seems to disagree. Is it because the |
244c052 to
4f71420
Compare
09d4162 to
bd15168
Compare
There was a problem hiding this comment.
| services.archisteamfarm.dataDir = lib.mkIf (lib.versionAtLeast config.system.stateVersion "24.05") "/var/lib/asf"; | |
| services.archisteamfarm.dataDir = mkIf (lib.versionAtLeast config.system.stateVersion "24.05") (mkDefault "/var/lib/asf"); |
Use mkDefault so that preexisting configs configs that override dataDir continue to function.
Also removed the lib. as the file already contains a with lib; at the top.
There was a problem hiding this comment.
Sure. Maybe I should drop that option entirely in another PR since I am not regularly testing it.
Also dropped with lib, since it is discouraged anyway.
bd15168 to
a15a9bb
Compare
a15a9bb to
6d1d912
Compare
Scheduled for 24.11. Added in NixOS#272147.
Scheduled for 24.11. Added in NixOS#272147. (cherry picked from commit 4255d7a)
Description of changes
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.