unnecessary and necessary parenthesis

This commit is contained in:
kat witch 2021-08-08 02:22:39 +01:00
parent d13d0e85ef
commit e61b522f3f
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
{ lib }: { hostName, profiles }: with lib; filter builtins.pathExists [
(../../config/hosts + "/${hostName}/nixos.nix")
(../../config/trusted/hosts + "/${hostName}/nixos.nix")
] ++ if builtins.isList profiles.base.imports then profiles.base.imports
else singleton profiles.base.imports ++ singleton {
] ++ (if builtins.isList profiles.base.imports then profiles.base.imports
else singleton profiles.base.imports) ++ singleton {
home-manager.users.kat = {
imports = filter builtins.pathExists [
(../../config/hosts + "/${hostName}/home.nix")