Skip to content

Commit

Permalink
modules/device: ignore /bin and /usr/bin from envfs
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 1, 2023
1 parent 7dcb6ad commit fec47ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/device.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ with lib; {
example = [ "/" "/mnt/backup" ];
default =
if (config ? fileSystems) then
(lists.subtractLists [ "/boot" "/tmp" "/nix" ]
(lists.subtractLists [ "/boot" "/tmp" "/nix" "/bin" "/usr/bin" ]
(mapAttrsToList (n: _: n) config.fileSystems))
else
[ "/" ];
Expand Down

0 comments on commit fec47ab

Please sign in to comment.